Set maintenance policy to terminate and restart for GCE (#5935)
This commit is contained in:
parent
ce65604154
commit
742562fc2e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue