aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vmimpl/vmimpl.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-09-27 17:07:31 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-09-27 18:59:50 +0200
commit9fc15c7ea33806fc224fea01dafd6c11a2790c7e (patch)
treece00effe54652f2b6a632679c97e254299eb77fa /vm/vmimpl/vmimpl.go
parentfd98417f4d1c796ef86cd8f6ebdd2d3c146a30a3 (diff)
vm/gce: windows support
Support custom pre-created images. Support non-root user. Use dir instead of pwd on windows. Don't use sudo on windows.
Diffstat (limited to 'vm/vmimpl/vmimpl.go')
-rw-r--r--vm/vmimpl/vmimpl.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go
index 6540ecc91..617f9bc0f 100644
--- a/vm/vmimpl/vmimpl.go
+++ b/vm/vmimpl/vmimpl.go
@@ -50,7 +50,8 @@ type Env struct {
Arch string // target arch
Workdir string
Image string
- Sshkey string
+ SshKey string
+ SshUser string
Debug bool
Config []byte // json-serialized VM-type-specific config
}