diff --git a/defaults.sh b/defaults.sh index e74106c..1d42816 100755 --- a/defaults.sh +++ b/defaults.sh @@ -106,7 +106,7 @@ export PRIMARY_DOMAIN= # this is the git commit of the project/ sub git repo. # used in the migration script to switch into past for backup # then back to present (TARGET_PROJECT_GIT_COMMIT) for restore. -export TARGET_PROJECT_GIT_COMMIT=c2f3612beeb5a386545596fdc3e734b20048013d +export TARGET_PROJECT_GIT_COMMIT=4fb926a8cfc75055d579fdcabebe0a20b3916963 # export TESTNET_BLOCK_HASH=00000000d8277ba1ca66b40b3e3476629e6f0f97c5b8cfaeabfe402e55db223a diff --git a/install.sh b/install.sh index 3ea19a2..5608c72 100755 --- a/install.sh +++ b/install.sh @@ -95,11 +95,9 @@ if ! lxc list --format csv | grep -q ss-mgmt; then # mount the pre-verified sovereign stack git repo into the new vm lxc config device add ss-mgmt ss-code disk source="$(pwd)" path=/home/ubuntu/sovereign-stack - # if the System Owner has a ~/.ss directory, then we'll mount it into the vm - # this allows the data to persist across ss-mgmt vms; ie. install/uninstall - if [ -d "$SS_ROOT_PATH" ]; then - lxc config device add ss-mgmt ss-root disk source="$SS_ROOT_PATH" path=/home/ubuntu/.ss - fi + # create the ~/.ss path and mount it into the vm. + mkdir -p "$SS_ROOT_PATH" + lxc config device add ss-mgmt ss-root disk source="$SS_ROOT_PATH" path=/home/ubuntu/.ss # if a ~/.bitcoin/testnet3/blocks direrectory exists, mount it in. BITCOIN_DIR="$HOME/.bitcoin"