Cleanup commit, added diskless clients
[fai-configs.git] / class / 50-host-classes
CommitLineData
2d1f8014 1#! /bin/bash
2
3# assign classes hosts
4
5# use a list of classes for our demo machine
6case $HOSTNAME in
7 faiserver)
8 echo "FAIBASE DEMO FAISERVER" ;;
9 demohost)
10 echo "FAIBASE DHCPC DEMO" ;;
3dfaa361 11 rms)
12 echo "FAIBASE DHCPC DEMO XORG TRISQUEL RMS";;
2d1f8014 13 gnomehost)
14 echo "FAIBASE DHCPC DEMO XORG GNOME";;
15 atom*)
16 echo "FAIBASE DHCPC DEMO" ;;
17 bear)
18 echo "FAIBASE DHCPC LVM_XEN_SERVER XEN" ;;
19 puma)
20 echo "FAIBASE DHCPC RAID_XEN_VIRTUAL" ;;
3dfaa361 21 freestation)
22 echo "FAIBASE DHCPC DISKLESS XORG TRISQUEL" ;;
2d1f8014 23 *)
3dfaa361 24 echo "FAIBASE DHCPC DEMO XORG GNOME";;
2d1f8014 25esac
26
3dfaa361 27if ! ifclass DISKLESS; then
28 (ifclass I386 || ifclass AMD64) && echo GRUB_PC
29fi
2d1f8014 30exit 0