Add --force during LXC_RESET because some containers don't want to be stopped for some reasons...

This commit is contained in:
Alexandre Aubin 2021-01-12 02:27:38 +01:00
parent 1ce755346e
commit 157f764079

View file

@ -94,8 +94,8 @@ LXC_STOP () {
}
LXC_RESET () {
timeout 30 lxc stop --timeout 15 $LXC_NAME 2>/dev/null
lxc delete $LXC_NAME 2>/dev/null
timeout 30 lxc stop --timeout 15 $LXC_NAME --force 2>/dev/null
lxc delete $LXC_NAME --force 2>/dev/null
}