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