diff --git a/deployment/.gitignore b/deployment/.gitignore new file mode 100644 index 0000000..e3f094e --- /dev/null +++ b/deployment/.gitignore @@ -0,0 +1 @@ +project \ No newline at end of file diff --git a/deployment/checkout_old.sh b/deployment/checkout_old.sh deleted file mode 100644 index 4f06359..0000000 --- a/deployment/checkout_old.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - - - -# purpose of script is to switch the ./project repo to the git commit as \ No newline at end of file diff --git a/deployment/reset.sh b/deployment/reset.sh index c19e670..83bea2b 100755 --- a/deployment/reset.sh +++ b/deployment/reset.sh @@ -52,26 +52,4 @@ CURRENT_REMOTE="$(lxc remote get-default)" if ! lxc remote get-default | grep -q "local"; then lxc remote switch local lxc remote remove "$CURRENT_REMOTE" -fi - - - - - -# if lxc image list | grep -q "$UBUNTU_BASE_IMAGE_NAME"; then -# lxc image delete "$UBUNTU_BASE_IMAGE_NAME" -# fi - - -# if snap list | grep -q lxd; then -# sudo snap remove lxd -# sleep 2 -# fi - -# if zfs list | grep -q sovereign-stack; then -# sudo zfs destroy -r sovereign-stack -# fi - -# if zfs list | grep -q "sovereign-stack"; then -# sudo zfs destroy -r "rpool/lxd" -# fi +fi \ No newline at end of file diff --git a/deployment/show.sh b/deployment/show.sh index 0edce6d..f0ec5f8 100755 --- a/deployment/show.sh +++ b/deployment/show.sh @@ -1,6 +1,9 @@ #!/bin/bash -lxc remote list +echo "LXD REMOTE: $(lxc remote get-default)" + +lxc project list + lxc storage list lxc image list lxc project list