X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2F50-host-classes;fp=fai%2Fconfig%2Fclass%2F50-host-classes;h=61a55934d0054397c6c89c073942d5aca3f3e7ee;hp=6ab31dacadd5d8edb8d0754616d85d94ca48791f;hb=fe81034ee9664d8e131bac218b40d99a58a31649;hpb=53db7c23cb11661c98a08d69295bb315c392003b diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes index 6ab31da..61a5593 100755 --- a/fai/config/class/50-host-classes +++ b/fai/config/class/50-host-classes @@ -5,6 +5,9 @@ # do not use this if a menu will be presented [ "$flag_menu" ] && exit 0 +# set these early so they are lowest priority. +echo FAIBASE STANDARD DEBIAN + # For multi-boot system. # We check that we aren't in a pxe boot environment. @@ -17,7 +20,7 @@ # # Each host defines following: # The base distro: -# UBUNTU, DEBIAN +# UBUNTU or nothing. DEBIAN is always defined as a base. # # The base disto version, only use so far is the basefile name if it exists. # Debian stable basefile gets built by faisetup and gets used otherwise. @@ -75,17 +78,17 @@ if [[ ! -e /a/bin/fai/fai-wrapper || $FAI_ACTION == dirinstall ]]; then case $HOSTNAME in # stretch based minimal recovery / bootstraping os: - _) echo DEBIAN STRETCH64 VOL_STRETCH_BOOTSTRAP STRETCH_FREE ;; + _) echo STRETCH64 VOL_STRETCH_BOOTSTRAP STRETCH_FREE ;; # flidas _) echo UBUNTU FLIDAS64 VOL_FLIDAS FLIDAS ;; # etiona _) echo UBUNTU ETIONA64 VOL_ETIONA ETIONA ;; # stretch - _) echo DEBIAN STRETCH64 VOL_STRETCH STRETCH_FREE ;; + _) echo STRETCH64 VOL_STRETCH STRETCH_FREE ;; # buster - _) echo DEBIAN BUSTER64 VOL_BUSTER BUSTER_FREE ;; + _) echo BUSTER64 VOL_BUSTER BUSTER_FREE ;; # testing - _) echo DEBIAN STRETCH64 VOL_TESTING TESTING_FREE ;; + _) echo STRETCH64 VOL_TESTING TESTING_FREE ;; # xenial _) echo UBUNTU XENIAL64 VOL_XENIAL XENIAL_FREE ;; # bionic @@ -121,7 +124,6 @@ if [[ -e /a/bin/fai/fai-wrapper ]]; then esac fi -echo FAIBASE STANDARD #echo "PARTITION_PROMPT" #echo REPARTITION