Make shutdown process less harsh.
This commit is contained in:
parent
6a0255a326
commit
a3b29e129a
@ -48,7 +48,9 @@ for VIRTUAL_MACHINE in www btcpayserver; do
|
|||||||
if lxc list | grep -q "$LXD_NAME"; then
|
if lxc list | grep -q "$LXD_NAME"; then
|
||||||
bash -c "./project/deploy.sh --stop --no-cert-renew --skip-$SKIP"
|
bash -c "./project/deploy.sh --stop --no-cert-renew --skip-$SKIP"
|
||||||
|
|
||||||
lxc delete -f "$LXD_NAME"
|
lxc stop "$LXD_NAME"
|
||||||
|
|
||||||
|
lxc delete "$LXD_NAME"
|
||||||
|
|
||||||
# remove the ssh known endpoint else we get warnings.
|
# remove the ssh known endpoint else we get warnings.
|
||||||
ssh-keygen -f "$SSH_HOME/known_hosts" -R "$LXD_NAME"
|
ssh-keygen -f "$SSH_HOME/known_hosts" -R "$LXD_NAME"
|
||||||
|
Loading…
Reference in New Issue
Block a user