Enable GPUs and secondary disks for TdS net, pull external account file (#5031)
* Enable V100 GPUs over 3 regions for TdS cluster * Turn on secondary config-local drive for tds net * Enable long args bypass for GPU machine details * bypass quoted long arg * Pull external account file from wget * typo * Symlink config-local instead of changing the path variables * Fix link path
This commit is contained in:
@ -70,11 +70,14 @@ 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
|
||||
|
||||
# If there is a secondary disk, symlink the config-local dir there
|
||||
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
|
||||
mkdir -p $SECONDARY_DISK_MOUNT_POINT/config-local
|
||||
mkdir -p "$SOLANA_ROOT"
|
||||
ln -s $SECONDARY_DISK_MOUNT_POINT/config-local "$SOLANA_ROOT"
|
||||
fi
|
||||
|
||||
default_arg() {
|
||||
|
Reference in New Issue
Block a user