forked from ss/sovereign-stack
Various updates.
This commit is contained in:
parent
628df90d32
commit
7ba91f8bcb
1
deployment/.gitignore
vendored
Normal file
1
deployment/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
project
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# purpose of script is to switch the ./project repo to the git commit as
|
|
@ -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
|
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user