* Add support for additional disks for config-local
(cherry picked from commit e4861f52e0
)
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