installing console-common uninstalls cryptsetup
[fai-configs.git] / class / 50-host-classes
... / ...
CommitLineData
1#!/bin/bash
2
3. /usr/lib/fai/subroutines
4# assign classes hosts
5
6if (ifclass I386 || ifclass AMD64) ; then
7 GRUB="GRUB_PC"
8fi
9
10# use a list of classes for our demo machine
11
12case $HOSTNAME in
13 faiserver*)
14 echo "FAIBASE FAISERVER SYSADMIN VM HEADLESS"
15 ;;
16 nekohost)
17 echo "FAIBASE $GRUB DHCPC DEMO HEADLESS"
18 ;;
19 rms)
20 echo "FAIBASE $GRUB DHCPC DEMO XORG TRISQUEL RMS"
21 ;;
22 diskstation*)
23 echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF HEADLESS"
24 ;;
25 freestation7)
26 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN MV"
27 ;;
28 freestation06)
29 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN JAPANESE"
30 ;;
31 freestation*)
32 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
33 ;;
34 zoneminder*)
35 echo "FAIBASE SYSADMIN FSF ZONEMINDER MYSQLD HEADLESS"
36 ;;
37 freetop-x60*)
38 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF"
39 ;;
40 contop*)
41 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF CONTOP"
42 ;;
43 iwikiserver*)
44 echo "FAIBASE IKIWIKI SYSADMIN VM HEADLESS"
45 ;;
46 jobserver*)
47 echo "FAIBASE JOB SYSADMIN VM HEADLESS"
48 ;;
49 mysqlserver*)
50 echo "FAIBASE KVMGUEST SYSADMIN MYSQLD HEADLESS"
51 ;;
52 streamstation*)
53 echo "FAIBASE $GRUB SYSADMIN STREAM XORG TRISQUEL LPCONF HEADLESS"
54 ;;
55 freetop*)
56 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT"
57 ;;
58 sfreetop*)
59 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT LUKS ECRYPTFS"
60 ;;
61 cloud*)
62 echo "FAIBASE VM SYSADMIN TRISQUEL HEADLESS"
63 ;;
64 libretop*)
65 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP LPCONF"
66 ;;
67 mwikiserver*)
68 echo "FAIBASE MEDIAWIKI SYSADMIN VM HEADLESS"
69 ;;
70 ploneserver*)
71 echo "FAIBASE PLONE SYSADMIN VM HEADLESS"
72 ;;
73 printserver*)
74 echo "FAIBASE CUPS SYSADMIN VM HEADLESS"
75 ;;
76 jabserver*)
77 echo "FAIBASE VM SYSADMIN LETSENCRYPT EJABBERD HEADLESS"
78 ;;
79 crmserver*)
80 echo "FAIBASE WWW CIVICRM SYSADMIN VM LETSENCRYPT HEADLESS"
81 ;;
82 crmdevserver*)
83 echo "FAIBASE WWW CIVICRM SYSADMIN VM MYSQLD HEADLESS"
84 ;;
85 gnusocial*)
86 echo "FAIBASE WWW SYSADMIN VM MYSQLD GNUSOCIAL YOURLS HEADLESS"
87 ;;
88 nagios*)
89 echo "FAIBASE SYSADMIN VM MYSQLD NAGIOS WWW HEADLESS"
90 ;;
91 shopserver*)
92 echo "FAIBASE SYSADMIN KOSA MARIADB WWW LETSENCRYPT HEADLESS"
93 ;;
94 kdev*)
95 echo "FAIBASE SYSADMIN KOSA VM MYSQLD PLONE WWW HEADLESS"
96 ;;
97 dcimserver*)
98 echo "FAIBASE SYSADMIN VM WWW MYSQLD ODCIM HEADLESS"
99 ;;
100 irc*)
101 echo "FAIBASE SYSADMIN KOSA SYSADMIN VM WWW LETSENCRYPT IRC HEADLESS"
102 ;;
103 glamp*)
104 echo "FAIBASE MYSQLD PHP5 SYSADMIN WWW HEADLESS"
105 ;;
106 gmg*libreplanet.org)
107 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT LIBREPLANET HEADLESS"
108 ;;
109 gmg*)
110 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT HEADLESS"
111 ;;
112 migration*)
113 echo "FAIBASE SYSADMIN HEADLESS"
114 ;;
115 rt*p.office*)
116 echo "FAIBASE SYSADMIN HEADLESS"
117 ;;
118 *)
119 echo "FAIBASE HEADLESS"
120 ;;
121esac
122
123exit 0