[Fai-commit] r3479 - in people/mugwump/vserver: . examples/simple/hooks

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


Author: samv-guest
Date: 2006-05-02 20:59:05 +0000 (Tue, 02 May 2006)
New Revision: 3479

Added:
   people/mugwump/vserver/examples/simple/hooks/prepareapt.VSCHILD
Modified:
   people/mugwump/vserver/
Log:
resolv.conf needs to be set up seperately with VIRTUAL build - make it a prepareapt action



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

Added: people/mugwump/vserver/examples/simple/hooks/prepareapt.VSCHILD
===================================================================
--- people/mugwump/vserver/examples/simple/hooks/prepareapt.VSCHILD	2006-05-02 20:58:39 UTC (rev 3478)
+++ people/mugwump/vserver/examples/simple/hooks/prepareapt.VSCHILD	2006-05-02 20:59:05 UTC (rev 3479)
@@ -0,0 +1,8 @@
+if [ ! -f $target/etc/resolv.conf ]
+then
+    if ! fcopy /etc/resolv.conf
+    then
+        echo "Using /etc/resolv.conf from install server"
+        cp /etc/resolv.conf-installserver $target/etc/resolv.conf
+    fi
+fi


Property changes on: people/mugwump/vserver/examples/simple/hooks/prepareapt.VSCHILD
___________________________________________________________________
Name: svn:executable
   + *




More information about the Fai-commit mailing list