From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Sat, 11 Jan 2014 13:21:44 +0000 (+0100)
Subject: stupid me
X-Git-Tag: before_libvirt_121~76
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=bc739ed14ca4d3f69469fb10fd9277392085a5a4;p=build.git

stupid me
---

diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh
index c623bc0e..aad7fe6b 100755
--- a/lbuild-initvm.sh
+++ b/lbuild-initvm.sh
@@ -722,8 +722,10 @@ function post_install () {
     personality=$1; shift
     if [ -n "$BUILD_MODE" ] ; then
 	post_install_build $lxc $personality
+	start_lxc $lxc
     else
 	post_install_myplc $lxc $personality
+	start_lxc $lxc
 	wait_for_ssh $lxc
     fi
     # setup localtime from the host
@@ -1022,8 +1024,6 @@ function main () {
 
     post_install $lxc $personality
     
-    start_lxc $lxc
-
     echo $COMMAND Done
 }