X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2F50-host-classes;h=11559c1e9f9a9a7b8ac0926f866cd763dff1dd09;hb=bd3227e34e549257fee819cf6bd50fe202ca7996;hp=84efa3677c4445f70b3d9ad7c5f257c834b0c991;hpb=4d23584c79e6c519f24042b11bc2cb5cd04ea284;p=automated-distro-installer diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes index 84efa36..11559c1 100755 --- a/fai/config/class/50-host-classes +++ b/fai/config/class/50-host-classes @@ -79,9 +79,12 @@ echo FAIBASE STANDARD DEBIAN # ROTATIONAL: in a system with ssd and hdd, install to the hdd # instead of the default ssd. # -# RAID0: Use raid 0 even if there are >= 4 disks with boot partititions. +# RAID0: Use raid 0 even if there are >= 4 disks with boot partitions. # # LINODE: For running a vm on linode, especially one created with fai-cd. +# +# IANK / FSF: general setup of my machine vs FSF machines +# NABIA_EXTRA: extra repos for NABIA from other distros if [[ -e /a/bin/fai/fai-wrapper ]]; then @@ -125,9 +128,11 @@ exit 0 ###### begin Template for 51-multi-boot ###### # # It has reasonable combinations of above classes. -# It's a noop until we replace _ with host names. +# We must first replace _ with host name(s). #!/bin/bash + +echo IANK if [[ ! -e /a/bin/fai/fai-wrapper || $FAI_ACTION == dirinstall ]]; then case $HOSTNAME in # bullseye based minimal recovery / bootstraping os: @@ -137,7 +142,9 @@ if [[ ! -e /a/bin/fai/fai-wrapper || $FAI_ACTION == dirinstall ]]; then # etiona _) echo UBUNTU ETIONA64 VOL_ETIONA ETIONA ;; # nabia - _) echo UBUNTU NABIA64 VOL_NABIA NABIA ;; + _) echo UBUNTU NABIA64 VOL_NABIA NABIA NABIA_EXTRA ;; + # aramo + _) echo UBUNTU ARAMO64 VOL_ARAMO ARAMO ARAMO_EXTRA ;; # stretch _) echo STRETCH64 VOL_STRETCH STRETCH_NONFREE ;; # buster @@ -154,6 +161,8 @@ if [[ ! -e /a/bin/fai/fai-wrapper || $FAI_ACTION == dirinstall ]]; then _) echo UBUNTU BIONIC64 VOL_BIONIC BIONIC ;; # focal _) echo UBUNTU FOCAL64 VOL_FOCAL FOCAL ;; + # jammy + _) echo UBUNTU JAMMY64 VOL_JAMMY JAMMY ;; esac fi ###### end Template for 51-multi-boot ######