From c6d248ce95cf3e74ba38ca431ea4b018f75e1881 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 13 Sep 2017 20:44:17 +0200 Subject: vm/vmimpl: add target OS/arch to env Allows future VM tuning based on target OS/arch. --- vm/vmimpl/vmimpl.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vm/vmimpl/vmimpl.go') 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 -- cgit mrf-deployment