aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-02-27 11:58:41 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-27 11:58:41 +0100
commit64482eb94884b3d18789276e1fc7b4776a2e7c74 (patch)
treef0256bafe10dfad361fec88b64010c71aeabfa7a /vm
parent6d41d29ecdde31f770663992e7d3948618f62434 (diff)
pkg/gce: use current instance network
The current instance is not necessary in the default network.
Diffstat (limited to 'vm')
-rw-r--r--vm/gce/gce.go4
1 files changed, 2 insertions, 2 deletions
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