1
1

Various updates.

This commit is contained in:
Derek Smith 2023-03-09 15:36:30 -05:00
parent 628df90d32
commit 7ba91f8bcb
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
4 changed files with 6 additions and 29 deletions

1
deployment/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
project

View File

@ -1,5 +0,0 @@
#!/bin/bash
# purpose of script is to switch the ./project repo to the git commit as

View File

@ -52,26 +52,4 @@ CURRENT_REMOTE="$(lxc remote get-default)"
if ! lxc remote get-default | grep -q "local"; then if ! lxc remote get-default | grep -q "local"; then
lxc remote switch local lxc remote switch local
lxc remote remove "$CURRENT_REMOTE" lxc remote remove "$CURRENT_REMOTE"
fi 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

View File

@ -1,6 +1,9 @@
#!/bin/bash #!/bin/bash
lxc remote list echo "LXD REMOTE: $(lxc remote get-default)"
lxc project list
lxc storage list lxc storage list
lxc image list lxc image list
lxc project list lxc project list