turn off firstboot from bootstrapfs if present
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 7 Dec 2009 10:56:38 +0000 (10:56 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 7 Dec 2009 10:56:38 +0000 (10:56 +0000)
config.planetlab/bootstrapfs.post

index 0e722a8..24371fc 100644 (file)
@@ -18,8 +18,9 @@ for service in network util-vserver; do
 done
 
 # Remove unneeded services
-for service in vprocunhide vservers-default; do
-    chroot ${vdir} /sbin/chkconfig $service off
+# turn off firstboot if present, might cause the node to hang
+for service in vprocunhide vservers-default firstboot; do
+    chroot ${vdir} /sbin/chkconfig $service off || :
 done
 
 # Disable splaying of cron.