Fixing previous commits following tests

This commit is contained in:
Alexandre Aubin 2020-12-25 16:09:40 +01:00
parent 9f26e6c8e0
commit defa639640
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@
#=================================================
LXC_CREATE () {
lxc image list $LXC_BASE | grep -q -w $LXC_BASE || log_critical "The base image $LXC_BASE doesn't exist yet. Consider using the build_base_lxc.sh to create it first"
lxc launch yunohost:$LXC_BASE $LXC_NAME || clean_exit 1
lxc config set "$LXC_NAME" security.nesting true
_LXC_START_AND_WAIT $LXC_NAME

View file

@ -193,7 +193,7 @@ echo "start:$(date +%s):$$" > "$lock_file"
assert_we_are_connected_to_the_internets
assert_we_have_all_dependencies
if [[ $rebuild == 0 ]]
if [[ $rebuild == 1 ]]
then
rebuild_base_lxc 2>&1 | tee -a "./build_base_lxc.log"
clean_exit 0