Enable nvidia persistence mode on instance reboots
This commit is contained in:
10
net/gce.sh
10
net/gce.sh
@ -607,7 +607,14 @@ EOF
|
||||
set -ex
|
||||
|
||||
if [[ -f /solana-scratch/.instance-startup-complete ]]; then
|
||||
# Skip on instance reboot
|
||||
$(
|
||||
cd "$here"/scripts/
|
||||
if "$enableGpu"; then
|
||||
cat enable-nvidia-persistence-mode.sh
|
||||
fi
|
||||
)
|
||||
|
||||
# Skip most setup on instance reboot
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@ -663,7 +670,6 @@ $(
|
||||
if [[ -n $fullNodeAdditionalDiskSizeInGb ]]; then
|
||||
cat mount-additional-disk.sh
|
||||
fi
|
||||
|
||||
)
|
||||
|
||||
cat > /etc/motd <<EOM
|
||||
|
Reference in New Issue
Block a user