Update ss location.
This commit is contained in:
parent
e4a19010c6
commit
be69d5774d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user