[Fai-commit] r3478 - in people/mugwump/vserver: . examples/simple/class

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Thu Jun 8 15:07:25 UTC 2006


Author: samv-guest
Date: 2006-05-02 20:58:39 +0000 (Tue, 02 May 2006)
New Revision: 3478

Modified:
   people/mugwump/vserver/
   people/mugwump/vserver/examples/simple/class/50-host-classes
Log:
Make the default classes better for VSCHILD - no GRUB, FAIBASE



Property changes on: people/mugwump/vserver
___________________________________________________________________
Name: svk:merge
   - d29f7b36-84ff-0310-85ce-ba787dbd31ca:/local/fai/people/mugwump/vserver:8126
   + d29f7b36-84ff-0310-85ce-ba787dbd31ca:/local/fai/people/mugwump/vserver:8127

Modified: people/mugwump/vserver/examples/simple/class/50-host-classes
===================================================================
--- people/mugwump/vserver/examples/simple/class/50-host-classes	2006-05-02 20:58:16 UTC (rev 3477)
+++ people/mugwump/vserver/examples/simple/class/50-host-classes	2006-05-02 20:58:39 UTC (rev 3478)
@@ -12,7 +12,9 @@
 	echo "FAIBASE DHCPC DEMO XFREE GNOME";;
     atom*)
 	echo "FAIBASE DHCPC DEMO" ;;
-# from http://faiwiki.informatik.uni-koeln.de/index.php/User:BrianShowalter/Using_FAI_to_install_Linux-vservers
+
+# For building VServer hosts and children
+
     vshost)
         echo "FAIBASE VSHOST VSCOMMON";;
     vschild1)
@@ -23,8 +25,13 @@
         echo "VSCHILD VSCOMMON POSTFIX" && exit 0;;
 
     *)
-	echo "FAIBASE DHCPC" ;;
+	if ifclass VSCHILD
+	then
+	    echo "VSCOMMON";
+        else
+	    echo "FAIBASE DHCPC" 
+        fi;;
 esac
 
-(ifclass I386 || ifclass AMD64) && echo GRUB 
+(ifclass I386 || ifclass AMD64) && ( ifclass VSCHILD || echo GRUB )
 exit 0




More information about the Fai-commit mailing list