diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-01-27 09:36:52 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-01-27 20:46:09 +0100 |
| commit | 362f1a61a17ee0c8392ae3897f443b1a43ddd720 (patch) | |
| tree | b8f7e55b76d6dfa82b76f67a18750e3e7afec55a /gce | |
| parent | 86c334f459f06ba396507129f07672a9b4c59cf2 (diff) | |
gce: don't terminate instances on migration
Seems to be working without termination.
Diffstat (limited to 'gce')
| -rw-r--r-- | gce/gce.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gce/gce.go b/gce/gce.go index 27bbbf6f2..1d22bd78b 100644 --- a/gce/gce.go +++ b/gce/gce.go @@ -127,7 +127,7 @@ func (ctx *Context) CreateInstance(name, machineType, image, sshkey string) (str Scheduling: &compute.Scheduling{ AutomaticRestart: false, Preemptible: true, - OnHostMaintenance: "TERMINATE", + OnHostMaintenance: "MIGRATE", }, } |
