test-install: Use lxc-destroy -f instead of lxc-stop.

Fixes this error after rebooting the host:

$ sudo ./destroy-all  -f
zulip-install-bionic-41MM2
lxc-stop: zulip-install-bionic-41MM2: tools/lxc_stop.c: main: 191 zulip-install-bionic-41MM2 is not running

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-12-17 17:11:24 -08:00 committed by Tim Abbott
parent 9b5f9858fb
commit 1f8d21af74
1 changed files with 1 additions and 2 deletions

View File

@ -31,6 +31,5 @@ lxc-ls -f \
| while read -r c | while read -r c
do do
echo "$c" echo "$c"
lxc-stop -n "$c" lxc-destroy -f -n "$c"
lxc-destroy -n "$c"
done done