From 97b58e7eae01ebe5df5d0bfdff4e6154e7ca869b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 17 Jun 2017 14:34:02 +0200 Subject: syz-manager/mgrconfig: move sshkey from vm config to manager config Sshkey is a property of image, which is in manager config. Move sshkey to the same location as image. The motivation for the move is as follows. Continuous build produces an image and the key, both need to be passed manager instance. Continuous build system should not distinguish different VM types and mess with their configs. NOTE FOR USERS: this breaks manager configs again. Hopefully the last time for now. Docs are updated. --- vm/kvm/kvm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/kvm') diff --git a/vm/kvm/kvm.go b/vm/kvm/kvm.go index 5c4c0f036..8f17f260c 100644 --- a/vm/kvm/kvm.go +++ b/vm/kvm/kvm.go @@ -64,7 +64,7 @@ func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { Lkvm: "lkvm", } if err := config.LoadData(env.Config, cfg); err != nil { - return nil, err + return nil, fmt.Errorf("failed to parse kvm vm config: %v", err) } if cfg.Count < 1 || cfg.Count > 1000 { return nil, fmt.Errorf("invalid config param count: %v, want [1, 1000]", cfg.Count) -- cgit mrf-deployment