Colo: Put NVMe disks to use (#6357)

automerge
This commit is contained in:
Trent Nelson
2019-10-17 15:44:45 -06:00
committed by Grimes
parent 9e52d11ad0
commit 1759968c1e
7 changed files with 42 additions and 42 deletions

View File

@ -99,6 +99,10 @@ if [ -f "$SOLANA_LOCK_FILE" ]; then
cat > "\${HOME}/.ssh/authorized_keys" <<EOAK
$("$__colo_here"/add-datacenter-solana-user-authorized_keys.sh 2> /dev/null)
EOAK
EXTERNAL_CONFIG_DIR="${SECONDARY_DISK_MOUNT_POINT}/config/"
if [[ -d "\$EXTERNAL_CONFIG_DIR" ]]; then
rm -rf "\$EXTERNAL_CONFIG_DIR"
fi
# End filesystem cleanup
RC=true
fi

View File

@ -3,6 +3,10 @@
declare -r SOLANA_LOCK_FILE="/home/solana/.solana.lock"
__colo_here="$(dirname "${BASH_SOURCE[0]}")"
# shellcheck source=net/common.sh
source "$__colo_here"/../common.sh
# Load colo resource specs
export COLO_RES_N=0
export COLO_RES_HOSTNAME=()