Create SS_ROOT_PATH
This commit is contained in:
parent
e12ead7ede
commit
1c2511af21
@ -74,9 +74,11 @@ export NOSTR_RELAY_IMAGE="scsibug/nostr-rs-relay"
|
|||||||
export WWW_SERVER_MAC_ADDRESS=
|
export WWW_SERVER_MAC_ADDRESS=
|
||||||
export BTCPAYSERVER_MAC_ADDRESS=
|
export BTCPAYSERVER_MAC_ADDRESS=
|
||||||
|
|
||||||
export REMOTES_DIR="$HOME/ss-remotes"
|
export SS_ROOT_PATH="$HOME/.ss"
|
||||||
export PROJECTS_DIR="$HOME/ss-projects"
|
|
||||||
export SITES_PATH="$HOME/ss-sites"
|
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.
|
# The base VM image.
|
||||||
export LXD_UBUNTU_BASE_VERSION="jammy"
|
export LXD_UBUNTU_BASE_VERSION="jammy"
|
||||||
|
@ -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-deploy - Creates a deployment to your active LXD remote.
|
||||||
ss-destroy - Destroys the active deployment (WARNING: destructive).
|
ss-destroy - Destroys the active deployment (WARNING: destructive).
|
||||||
ss-update - brings an existing deployment up to the newest version of Sovereign Stack.
|
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.
|
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:
|
For more infomation about all these topics, consult the Sovereign Stack website starting with:
|
||||||
|
|
||||||
- https://www.sovereign-stack.org/tag/instance-management/
|
- https://www.sovereign-stack.org/tag/instance-management/
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ fi
|
|||||||
# install dependencies.
|
# install dependencies.
|
||||||
ssh -t "ubuntu@$FQDN" 'sudo apt update && sudo apt upgrade -y && sudo apt install htop dnsutils nano -y'
|
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
|
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
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user