X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2F50-host-classes;h=894261aab32d2bf309651d7d2b0de6a85ff90f8b;hb=c8bd51084bc4d90b9653d521e7cb05e17e417d97;hp=f7bda8a1afeda876c5d3391733247cc22cb80bda;hpb=146686eb0d97bab588a5912e1994835001e5b459;p=automated-distro-installer diff --git a/fai/config/class/50-host-classes b/fai/config/class/50-host-classes index f7bda8a..894261a 100755 --- a/fai/config/class/50-host-classes +++ b/fai/config/class/50-host-classes @@ -7,27 +7,35 @@ # use a list of classes for our demo machine case $HOSTNAME in - faiserver) - echo "FAIBASE DEBIAN DEMO FAISERVER" ;; demohost) - echo "FAIBASE DEBIAN" ;; - xfcehost) - echo "FAIBASE DEBIAN DEMO XORG XFCE LVM";; - gnomehost) - echo "FAIBASE DEBIAN DEMO XORG GNOME";; - centos) - echo "FAIBASE CENTOS" # you may want to add class XORG here - ifclass I386 && echo CENTOS6_32 # AFAIK there's no 32bit C7 - ifclass AMD64 && echo CENTOS7_64 - exit 0 ;; # CentOS does not use the GRUB class - slchost) - # Scientific Linux Cern, is very similar to CentOS. SLC should alsways use the class CENTOS - echo "FAIBASE CENTOS SLC" # you may want to add class XORG here - ifclass I386 && echo SLC7_32 - ifclass AMD64 && echo SLC7_64 - exit 0 ;; # CentOS/SLC does not use the GRUB class + echo "FAIBASE DEBIAN DESKTOP" ;; + x2) + echo "FAIBASE DEBIAN DESKTOP PARTITION_PROMPT" ;; + tp) + echo "FAIBASE DEBIAN DESKTOP PARTITION_PROMPT" ;; + frodo) + echo "FAIBASE DEBIAN DESKTOP PARTITION_PROMPT" ;; + treetowl) + echo "FAIBASE DEBIAN DESKTOP PARTITION_PROMPT" ;; + # faiserver) + # echo "FAIBASE DEBIAN DEMO FAISERVER" ;; + # xfcehost) + # echo "FAIBASE DEBIAN DEMO XORG XFCE LVM";; + # gnomehost) + # echo "FAIBASE DEBIAN DEMO XORG GNOME";; + # centos) + # echo "FAIBASE CENTOS" # you may want to add class XORG here + # ifclass I386 && echo CENTOS6_32 # AFAIK there's no 32bit C7 + # ifclass AMD64 && echo CENTOS7_64 + # exit 0 ;; # CentOS does not use the GRUB class + # slchost) + # # Scientific Linux Cern, is very similar to CentOS. SLC should alsways use the class CENTOS + # echo "FAIBASE CENTOS SLC" # you may want to add class XORG here + # ifclass I386 && echo SLC7_32 + # ifclass AMD64 && echo SLC7_64 + # exit 0 ;; # CentOS/SLC does not use the GRUB class *) - echo "FAIBASE DEBIAN" ;; + echo "FAIBASE DEBIAN DESKTOP" ;; esac if grep ^52:54:00: /sys/class/net/eth0/address &>/dev/null; then