comment about status of the ‘build-on-f20’ issue
[build.git] / lbuild-initvm.sh
index c4a83e2..aad7fe6 100755 (executable)
@@ -719,10 +719,13 @@ function devel_or_vtest_tools () {
 
 function post_install () {
     lxc=$1; shift 
+    personality=$1; shift
     if [ -n "$BUILD_MODE" ] ; then
-       post_install_build $lxc
+       post_install_build $lxc $personality
+       start_lxc $lxc
     else
-       post_install_myplc $lxc
+       post_install_myplc $lxc $personality
+       start_lxc $lxc
        wait_for_ssh $lxc
     fi
     # setup localtime from the host
@@ -786,7 +789,7 @@ PROFILE
     fi
 #
 EOF
-
+       
 }
 
 function post_install_myplc  () {
@@ -1021,8 +1024,6 @@ function main () {
 
     post_install $lxc $personality
     
-    start_lxc $lxc
-
     echo $COMMAND Done
 }