added bind9 to SYSADMIN
[fai-configs.git] / class / 50-host-classes
CommitLineData
5caa1613 1#! /bin/bash
554a69d8 2. /usr/lib/fai/subroutines
5caa1613 3# assign classes hosts
2d1f8014 4
5caa1613 5nogrub=0
6
7# use a list of classes for our demo machine
2d1f8014 8case $HOSTNAME in
9 faiserver)
5caa1613 10 echo "FAIBASE DEMO FAISERVER" ;;
2d1f8014 11 demohost)
5caa1613 12 echo "FAIBASE DHCPC DEMO" ;;
3dfaa361 13 rms)
5caa1613 14 echo "FAIBASE DHCPC DEMO XORG TRISQUEL RMS";;
2d1f8014 15 gnomehost)
5caa1613 16 echo "FAIBASE DHCPC DEMO XORG GNOME";;
2d1f8014 17 atom*)
5caa1613 18 echo "FAIBASE DHCPC DEMO" ;;
2d1f8014 19 bear)
5caa1613 20 echo "FAIBASE DHCPC LVM_XEN_SERVER XEN" ;;
2d1f8014 21 puma)
5caa1613 22 echo "FAIBASE DHCPC RAID_XEN_VIRTUAL" ;;
f733d6b3
LMM
23 diskstation*)
24 echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF"
afc7bce2 25 nogrub=1 ;;
37c16f88 26 freestation*)
c5b48639 27 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
5caa1613 28 nogrub=1 ;;
fdb181c0 29 freetop-x60*)
fa9db267 30 echo "FAIBASE DHCPC XORG TRISQUEL WORKSTATION FSF"
fdb181c0 31 ;;
81410d1e 32 iwikiserver*)
1f4c822b 33 echo "FAIBASE IKIWIKI SYSADMIN VM"
81410d1e 34 nogrub=1
35 ;;
5caa1613 36 *)
37 echo "FAIBASE DHCPC DEMO XORG GNOME";;
2d1f8014 38esac
39
5caa1613 40if [ $nogrub -eq 0 ]; then
41 (ifclass I386 || ifclass AMD64) && echo GRUB_PC
42fi
00743eb1 43
2d1f8014 44exit 0