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
|
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
|
||||||
|
Reference in New Issue
Block a user