[Fai-commit] r5950 - in trunk: debian examples/simple/class examples/simple/scripts/FAISERVER

Thomas Lange lange at alioth.debian.org
Fri Aug 6 14:34:19 UTC 2010


Author: lange
Date: 2010-08-06 14:34:18 +0000 (Fri, 06 Aug 2010)
New Revision: 5950

Modified:
   trunk/debian/changelog
   trunk/examples/simple/class/50-host-classes
   trunk/examples/simple/scripts/FAISERVER/10-conffiles
Log:
10-conffiles, 50-host-classes: add suppoert for hosts named client01,...

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-08-06 02:19:26 UTC (rev 5949)
+++ trunk/debian/changelog	2010-08-06 14:34:18 UTC (rev 5950)
@@ -115,6 +115,7 @@
   * S99fai-setup: do not call fai-setup
   * add approx support in class FAISERVER
   * mkdebmirror: use cdn.debian.net
+  * 10-conffiles, 50-host-classes: add suppoert for hosts named client01,...
   
   [ Michael Tautschnig ]
   * setup-storage: Bumped version number to 1.3

Modified: trunk/examples/simple/class/50-host-classes
===================================================================
--- trunk/examples/simple/class/50-host-classes	2010-08-06 02:19:26 UTC (rev 5949)
+++ trunk/examples/simple/class/50-host-classes	2010-08-06 14:34:18 UTC (rev 5950)
@@ -1,12 +1,12 @@
 #! /bin/bash
 
-# assign classes hosts
+# assign classes to hosts
 
 # use a list of classes for our demo machine
 case $HOSTNAME in
     faiserver)
 	echo "FAIBASE DEBIAN DEMO FAISERVER" ;;
-    demohost)
+    demohost|client*)
 	echo "FAIBASE DEBIAN DHCPC DEMO" ;;
     gnomehost)
 	echo "FAIBASE DEBIAN DHCPC DEMO XORG GNOME";;

Modified: trunk/examples/simple/scripts/FAISERVER/10-conffiles
===================================================================
--- trunk/examples/simple/scripts/FAISERVER/10-conffiles	2010-08-06 02:19:26 UTC (rev 5949)
+++ trunk/examples/simple/scripts/FAISERVER/10-conffiles	2010-08-06 14:34:18 UTC (rev 5950)
@@ -14,5 +14,6 @@
     # create some host entries
     ainsl $target/etc/hosts "192.168.33.1 demohost"
     ainsl $target/etc/hosts "192.168.33.2 gnomehost"
-#    perl -e 'for (3..9) {printf "192.168.33.%s atom%02s\n",$_,$_;}' >> $target/etc/hosts
+    # add entries for 10 hosts called client*
+    perl -e 'for (1..10) {printf "192.168.33.%s client%02s\n",$_,$_;}' >> $target/etc/hosts
 fi




More information about the Fai-commit mailing list