Updates reset.sh
This commit is contained in:
parent
f3825c6f27
commit
968b39df79
11
reset.sh
11
reset.sh
@ -2,14 +2,17 @@
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
CLUSTER_NAME="production-primary"
|
CLUSTER_NAME=""
|
||||||
SSH_ENDPOINT="atlantis"
|
SSH_ENDPOINT_HOSTNAME=""
|
||||||
DOMAIN_NAME="ancapistan.io"
|
SSH_ENDPOINT_DOMAIN_NAME=""
|
||||||
export LXD_VM_NAME="${DOMAIN_NAME//./-}"
|
TEST_DOMAIN=""
|
||||||
|
|
||||||
|
export LXD_VM_NAME="${TEST_DOMAIN//./-}"
|
||||||
|
|
||||||
lxc delete --force www-"$LXD_VM_NAME"
|
lxc delete --force www-"$LXD_VM_NAME"
|
||||||
lxc delete --force btcpay-"$LXD_VM_NAME"
|
lxc delete --force btcpay-"$LXD_VM_NAME"
|
||||||
lxc delete --force sovereign-stack
|
lxc delete --force sovereign-stack
|
||||||
|
lxc delete --force sovereign-stack-base
|
||||||
|
|
||||||
lxc profile delete www-"$LXD_VM_NAME"
|
lxc profile delete www-"$LXD_VM_NAME"
|
||||||
lxc profile delete btcpay-"$LXD_VM_NAME"
|
lxc profile delete btcpay-"$LXD_VM_NAME"
|
||||||
|
Loading…
Reference in New Issue
Block a user