X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2F50-host-classes;h=6f3f8a885f729c9580d9aa49a3b59ce2bd05bd5b;hb=f6b9ade60186b7be2ecf39266ced982ec7efc633;hp=6f32a08cdef0ce4ee85106dbbff4ebc052f368ae;hpb=7fdea51613929853c4df86261150bd3782fb81b2;p=automated-distro-installer diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes index 6f32a08..6f3f8a8 100755 --- a/fai/config/class/50-host-classes +++ b/fai/config/class/50-host-classes @@ -24,12 +24,13 @@ # We check the reverse condition in 51-multi-boot, # and set what os we are installing, but don't check it # into git since it changes regularly. Each host needs -# to have a class of either STABLE or STRETCH64. +# to have a class of either DEBIAN + STABLE or STRETCH64, +# or UBUNTU + XENIAL64. # # It's shell looks like this: # if [[ ! -e /a/bin/fai/fai-wrapper ]]; then # case $HOSTNAME in -# tp) STABLE ;; +# tp) DEBIAN STABLE ;; # # add more multi-boot hostnames here # esac # fi @@ -39,10 +40,10 @@ if [[ -e /a/bin/fai/fai-wrapper ]] && isdebian-stable; then fi # use a list of classes for our demo machine -echo "FAIBASE DEBIAN PARTITION_PROMPT" +echo "FAIBASE PARTITION_PROMPT" case $HOSTNAME in x2|frodo|treetowl) - echo "NON_FREE" + echo "DEBIAN_NON_FREE" if [[ -e /a/bin/fai/fai-wrapper ]] && isdebian-stable; then echo "STABLE_NON_FREE" fi