1
1

Create SS_ROOT_PATH

This commit is contained in:
Derek Smith 2023-03-15 19:21:02 -04:00
parent e12ead7ede
commit 1c2511af21
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
3 changed files with 8 additions and 4 deletions

View File

@ -74,9 +74,11 @@ export NOSTR_RELAY_IMAGE="scsibug/nostr-rs-relay"
export WWW_SERVER_MAC_ADDRESS=
export BTCPAYSERVER_MAC_ADDRESS=
export REMOTES_DIR="$HOME/ss-remotes"
export PROJECTS_DIR="$HOME/ss-projects"
export SITES_PATH="$HOME/ss-sites"
export SS_ROOT_PATH="$HOME/.ss"
export REMOTES_DIR="$SS_ROOT_PATH/remotes"
export PROJECTS_DIR="$SS_ROOT_PATH/projects"
export SITES_PATH="$SS_ROOT_PATH/sites"
# The base VM image.
export LXD_UBUNTU_BASE_VERSION="jammy"

View File

@ -5,8 +5,10 @@ You are in the Sovereign Stack Management Environment (SSME). From here, you can
ss-deploy - Creates a deployment to your active LXD remote.
ss-destroy - Destroys the active deployment (WARNING: destructive).
ss-update - brings an existing deployment up to the newest version of Sovereign Stack.
ss-reset - The opposite of ss-remote; deprovisions on the current remote.
ss-show - show the lxd resources associated with the current remote.
For more infomation about all these topics, consult the Sovereign Stack website starting with:
- https://www.sovereign-stack.org/tag/instance-management/

View File

@ -163,7 +163,7 @@ fi
# install dependencies.
ssh -t "ubuntu@$FQDN" 'sudo apt update && sudo apt upgrade -y && sudo apt install htop dnsutils nano -y'
if ! ssh "ubuntu@$FQDN" snap list | grep -q lxd; then
ssh -t "ubuntu@$FQDN" 'sudo snap install lxd --channel=5.11/stable'
ssh -t "ubuntu@$FQDN" 'sudo snap install lxd'
sleep 5
fi