diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-13 20:44:17 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-15 16:02:37 +0200 |
| commit | c6d248ce95cf3e74ba38ca431ea4b018f75e1881 (patch) | |
| tree | 522fa207c2130abe0537655bfca1891759da8462 /vm/vmimpl/vmimpl.go | |
| parent | f7b1163afba16b6266423f3661ccad8a329f7754 (diff) | |
vm/vmimpl: add target OS/arch to env
Allows future VM tuning based on target OS/arch.
Diffstat (limited to 'vm/vmimpl/vmimpl.go')
| -rw-r--r-- | vm/vmimpl/vmimpl.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/vmimpl/vmimpl.go b/vm/vmimpl/vmimpl.go index 9d2fff183..6540ecc91 100644 --- a/vm/vmimpl/vmimpl.go +++ b/vm/vmimpl/vmimpl.go @@ -46,6 +46,8 @@ type Env struct { // Unique name // Can be used for VM name collision resolution if several pools share global name space. Name string + OS string // target OS + Arch string // target arch Workdir string Image string Sshkey string |
