Added diskless package config and fixed 50-host-classes for testing
[fai-configs.git] / class / 50-host-classes
CommitLineData
2d1f8014 1#! /bin/bash
554a69d8 2. /usr/lib/fai/subroutines
2d1f8014 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" ;;
37c16f88 21 freestation*)
52876a21 22 echo "FAIBASE DHCPC DISKLESS XORG TRISQUEL WORKSTATION" ;;
2d1f8014 23 *)
3dfaa361 24 echo "FAIBASE DHCPC DEMO XORG GNOME";;
2d1f8014 25esac
26
00743eb1 27
28(ifclass I386 || ifclass AMD64) && ! ifclass DISKLESS && echo GRUB_PC
29
2d1f8014 30exit 0