GCE-based nodes now reboot on maintenance events instead of terminating (#5861)

This commit is contained in:
Michael Vines
2019-09-10 12:30:06 -07:00
committed by GitHub
parent 0d7efe5176
commit fc4aa71193
4 changed files with 96 additions and 44 deletions

View File

@ -598,6 +598,11 @@ EOF
# autogenerated at $(date)
set -ex
if [[ -f /solana-scratch/.instance-startup-complete ]]; then
# Skip on instance reboot
exit 0
fi
cat > /etc/motd <<EOM
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!