1
1

Update ss location.

This commit is contained in:
Derek Smith 2023-04-05 20:16:23 -04:00
parent e4a19010c6
commit be69d5774d
Signed by: farscapian
GPG Key ID: B443E530A14E1C90

View File

@ -96,16 +96,17 @@ fi
if ! lxc config device show ss-mgmt | grep -q ss-code; then if ! lxc config device show ss-mgmt | grep -q ss-code; then
lxc config device add ss-mgmt ss-code disk source="$(pwd)" path=/home/ubuntu/sovereign-stack lxc config device add ss-mgmt ss-code disk source="$(pwd)" path=/home/ubuntu/sovereign-stack
fi fi
# create the ~/ss path and mount it into the vm. # create the ~/ss path and mount it into the vm.
mkdir -p "$SS_ROOT_PATH" mkdir -p "$SS_ROOT_PATH"
if ! lxc config device show ss-mgmt | grep -q ss-root; then if ! lxc config device show ss-mgmt | grep -q ss-root; then
lxc config device add ss-mgmt ss-root disk source="$SS_ROOT_PATH" path=/home/ubuntu/.ss lxc config device add ss-mgmt ss-root disk source="$SS_ROOT_PATH" path=/home/ubuntu/ss
fi fi
# # if a ~/.bitcoin/testnet3/blocks direrectory exists, mount it in. # # if a ~/.bitcoin/testnet3/blocks direrectory exists, mount it in.
# BITCOIN_DIR="$HOME/.bitcoin" # BITCOIN_DIR="$HOME/.bitcoin"
# REMOTE_BITCOIN_CACHE_PATH="/home/ubuntu/.ss/cache/bitcoin" # REMOTE_BITCOIN_CACHE_PATH="/home/ubuntu/ss/cache/bitcoin"
# BITCOIN_TESTNET_BLOCKS_PATH="$BITCOIN_DIR/testnet3/blocks" # BITCOIN_TESTNET_BLOCKS_PATH="$BITCOIN_DIR/testnet3/blocks"
# if [ -d "$BITCOIN_TESTNET_BLOCKS_PATH" ]; then # if [ -d "$BITCOIN_TESTNET_BLOCKS_PATH" ]; then
# if ! lxc config device show ss-mgmt | grep -q ss-testnet-blocks; then # if ! lxc config device show ss-mgmt | grep -q ss-testnet-blocks; then