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
fi
#
EOF
-
+
}
function post_install_myplc () {
post_install $lxc $personality
- start_lxc $lxc
-
echo $COMMAND Done
}