cleaned up default host
[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
bd6c2111 9 faiserver*)
77c721a5
LMM
10 echo "FAIBASE FAISEVER SYSADMIN VM"
11 nogrub=1 ;;
2d1f8014 12 demohost)
5caa1613 13 echo "FAIBASE DHCPC DEMO" ;;
3dfaa361 14 rms)
5caa1613 15 echo "FAIBASE DHCPC DEMO XORG TRISQUEL RMS";;
2d1f8014 16 gnomehost)
5caa1613 17 echo "FAIBASE DHCPC DEMO XORG GNOME";;
2d1f8014 18 atom*)
5caa1613 19 echo "FAIBASE DHCPC DEMO" ;;
2d1f8014 20 bear)
5caa1613 21 echo "FAIBASE DHCPC LVM_XEN_SERVER XEN" ;;
2d1f8014 22 puma)
5caa1613 23 echo "FAIBASE DHCPC RAID_XEN_VIRTUAL" ;;
f733d6b3
LMM
24 diskstation*)
25 echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF"
afc7bce2 26 nogrub=1 ;;
04ee438e
LMM
27 freestation04)
28 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN MV"
29 nogrub=1 ;;
37c16f88 30 freestation*)
c5b48639 31 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
5caa1613 32 nogrub=1 ;;
fdb181c0 33 freetop-x60*)
fa9db267 34 echo "FAIBASE DHCPC XORG TRISQUEL WORKSTATION FSF"
fdb181c0 35 ;;
81410d1e 36 iwikiserver*)
1f4c822b 37 echo "FAIBASE IKIWIKI SYSADMIN VM"
81410d1e 38 nogrub=1
39 ;;
04ee438e 40 jobserver*)
432e3669 41 echo "FAIBASE JOB SYSADMIN VM"
04ee438e
LMM
42 nogrub=1
43 ;;
b75f015b 44 mysqlserver*)
b4a13bdf 45 echo "FAIBASE KVMGUEST SYSADMIN MYSQLD"
b75f015b
LMM
46 nogrub=1
47 ;;
6441b4e5 48 streamstation*)
49 echo "FAIBASE DHCPC SYSADMIN STREAM"
50 nogrub=1
51 ;;
52 freetop*)
53 echo "FAIBASE DHCPC SYSADMIN XORG TRISQUEL WORKSTATION"
54 nogrub=1
55 ;;
56
5caa1613 57 *)
2acc702e 58 echo "FAIBASE";;
2d1f8014 59esac
60
5caa1613 61if [ $nogrub -eq 0 ]; then
62 (ifclass I386 || ifclass AMD64) && echo GRUB_PC
63fi
00743eb1 64
2d1f8014 65exit 0