mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
More sanity checks
This commit is contained in:
parent
19b401cd23
commit
fc08a7e515
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ LXC_CREATE () {
|
||||||
|
|
||||||
_LXC_START_AND_WAIT $LXC_NAME
|
_LXC_START_AND_WAIT $LXC_NAME
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
if ! lxc exec $LXC_NAME -- test -e /etc/yunohost
|
||||||
|
then
|
||||||
|
log_critical "Failed to run 'test -e /etc/yunohost' on the container ... either the container did not start, or YunoHost doesn't exists yet in the container :/"
|
||||||
|
fi
|
||||||
|
|
||||||
set_witness_files
|
set_witness_files
|
||||||
sleep 3
|
sleep 3
|
||||||
log_info "Creating initial snapshot $LXC_NAME ..."
|
log_info "Creating initial snapshot $LXC_NAME ..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue