From 742562fc2ec0c738a1cfee6776e4c8ecab1628b4 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 18 Sep 2019 10:38:38 -0700 Subject: [PATCH] Set maintenance policy to terminate and restart for GCE (#5935) --- net/scripts/gce-provider.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/scripts/gce-provider.sh b/net/scripts/gce-provider.sh index e52264db8e..da3c916809 100755 --- a/net/scripts/gce-provider.sh +++ b/net/scripts/gce-provider.sh @@ -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