[Fai-commit] r3476 - 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:22 UTC 2006


Author: samv-guest
Date: 2006-05-02 20:57:44 +0000 (Tue, 02 May 2006)
New Revision: 3476

Modified:
   people/mugwump/vserver/
   people/mugwump/vserver/examples/simple/class/10-base-classes
Log:
Set the VSCHILD class if we detect running in VIRTUAL mode



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

Modified: people/mugwump/vserver/examples/simple/class/10-base-classes
===================================================================
--- people/mugwump/vserver/examples/simple/class/10-base-classes	2006-05-02 20:57:18 UTC (rev 3475)
+++ people/mugwump/vserver/examples/simple/class/10-base-classes	2006-05-02 20:57:44 UTC (rev 3476)
@@ -5,4 +5,8 @@
 [ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr a-z A-Z
 
 [ -f /boot/RUNNING_FROM_FAICD ] && echo "FAICD"
-exit 0
\ No newline at end of file
+
+[ -n "$VIRTUAL" ] && echo "VSCHILD"
+
+exit 0
+




More information about the Fai-commit mailing list