Set maintenance policy to terminate and restart for GCE (#5935)

This commit is contained in:
Dan Albert 2019-09-18 10:38:38 -07:00 committed by GitHub
parent ce65604154
commit 742562fc2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,8 @@ cloud_CreateInstances() {
--tags testnet
--metadata "testnet=$networkName"
--image "$imageName"
--maintenance-policy TERMINATE
--restart-on-failure
)
# shellcheck disable=SC2206 # Do not want to quote $imageName as it may contain extra args