Add support for additional disks for config-local (#5030)
* Add support for additional disks for config-local * Restore wrongly deleted lines * Shellcheck * add args in the right place dummy * Fix nits * typo * var naming cleanup * Add stub function for remaining cloud providers
This commit is contained in:
@ -70,7 +70,12 @@ source "$SOLANA_ROOT"/scripts/configure-metrics.sh
|
||||
SOLANA_RSYNC_CONFIG_DIR=$SOLANA_ROOT/config
|
||||
|
||||
# Configuration that remains local
|
||||
SOLANA_CONFIG_DIR=$SOLANA_ROOT/config-local
|
||||
SECONDARY_DISK_MOUNT_POINT=/mnt/extra-disk
|
||||
if [[ -d $SECONDARY_DISK_MOUNT_POINT ]]; then
|
||||
SOLANA_CONFIG_DIR=$SECONDARY_DISK_MOUNT_POINT/config-local
|
||||
else
|
||||
SOLANA_CONFIG_DIR=$SOLANA_ROOT/config-local
|
||||
fi
|
||||
|
||||
default_arg() {
|
||||
declare name=$1
|
||||
|
Reference in New Issue
Block a user