From 64482eb94884b3d18789276e1fc7b4776a2e7c74 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 27 Feb 2018 11:58:41 +0100 Subject: pkg/gce: use current instance network The current instance is not necessary in the default network. --- vm/gce/gce.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm/gce') diff --git a/vm/gce/gce.go b/vm/gce/gce.go index 01cbc7bd4..5be790b76 100644 --- a/vm/gce/gce.go +++ b/vm/gce/gce.go @@ -96,8 +96,8 @@ func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { if err != nil { return nil, fmt.Errorf("failed to init gce: %v", err) } - Logf(0, "GCE initialized: running on %v, internal IP %v, project %v, zone %v", - GCE.Instance, GCE.InternalIP, GCE.ProjectID, GCE.ZoneID) + Logf(0, "GCE initialized: running on %v, internal IP %v, project %v, zone %v, net %v/%v", + GCE.Instance, GCE.InternalIP, GCE.ProjectID, GCE.ZoneID, GCE.Network, GCE.Subnetwork) if cfg.GCE_Image == "" { cfg.GCE_Image = env.Name -- cgit mrf-deployment