1
1

Compare commits

..

No commits in common. "867771c90899aa4c2d2c1572f47db4fc6795960e" and "628df90d3217d2f4ce0274c3e7a844c608bed66c" have entirely different histories.

5 changed files with 30 additions and 6 deletions

View File

@ -1 +0,0 @@
project/

View File

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

1
deployment/project Submodule

@ -0,0 +1 @@
Subproject commit df205cfabf3f2bee31561af1c8b6e036280829e6

View File

@ -52,4 +52,26 @@ 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
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,9 +1,6 @@
#!/bin/bash
echo "LXD REMOTE: $(lxc remote get-default)"
lxc project list
lxc remote list
lxc storage list
lxc image list
lxc project list