From 362f1a61a17ee0c8392ae3897f443b1a43ddd720 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 27 Jan 2017 09:36:52 +0100 Subject: gce: don't terminate instances on migration Seems to be working without termination. --- gce/gce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gce') 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", }, } -- cgit mrf-deployment