Enable nvidia persistence mode on instance reboots
This commit is contained in:
parent
ab60c578b9
commit
4c49566a89
10
net/gce.sh
10
net/gce.sh
|
@ -607,7 +607,14 @@ EOF
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
if [[ -f /solana-scratch/.instance-startup-complete ]]; then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -663,7 +670,6 @@ $(
|
||||||
if [[ -n $fullNodeAdditionalDiskSizeInGb ]]; then
|
if [[ -n $fullNodeAdditionalDiskSizeInGb ]]; then
|
||||||
cat mount-additional-disk.sh
|
cat mount-additional-disk.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
cat > /etc/motd <<EOM
|
cat > /etc/motd <<EOM
|
||||||
|
|
Loading…
Reference in New Issue