[Fai-commit] r6516 - trunk/examples/simple/class

Thomas Lange lange at alioth.debian.org
Thu Apr 28 14:06:25 UTC 2011


Author: lange
Date: 2011-04-28 14:06:20 +0000 (Thu, 28 Apr 2011)
New Revision: 6516

Modified:
   trunk/examples/simple/class/50-host-classes
Log:
a host named slchost will be installed using Scientific Linux Cern


Modified: trunk/examples/simple/class/50-host-classes
===================================================================
--- trunk/examples/simple/class/50-host-classes	2011-04-28 11:41:13 UTC (rev 6515)
+++ trunk/examples/simple/class/50-host-classes	2011-04-28 14:06:20 UTC (rev 6516)
@@ -23,6 +23,12 @@
 	ifclass I386 && echo CENTOS5_32
 	ifclass AMD64 && echo CENTOS5_64
 	exit 0 ;; # CentOS does not use the GRUB class
+    slchost) 
+	# Scientific Linux Cern, is very similar to CentOS. SLC should alsways use the class CENTOS
+	echo "FAIBASE CENTOS SLC"
+	ifclass I386 && echo SLC5_32
+	ifclass AMD64 && echo SLC5_64
+	exit 0 ;; # CentOS/SLC does not use the GRUB class
     *)
 	echo "FAIBASE DEBIAN DHCPC" ;;
 esac




More information about the Fai-commit mailing list