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