added inkscape
[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" ;;
37c16f88 23 freestation*)
c5b48639 24 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
5caa1613 25 nogrub=1 ;;
fdb181c0 26 freetop-x60*)
fa9db267 27 echo "FAIBASE DHCPC XORG TRISQUEL WORKSTATION FSF"
fdb181c0 28 ;;
5caa1613 29 *)
30 echo "FAIBASE DHCPC DEMO XORG GNOME";;
2d1f8014 31esac
32
5caa1613 33if [ $nogrub -eq 0 ]; then
34 (ifclass I386 || ifclass AMD64) && echo GRUB_PC
35fi
00743eb1 36
2d1f8014 37exit 0