internal/vmware: add support for the GOVC_FOLDER option

When importing the ova it also creates a VM, and users don't always have
permission to register in the default folder.
This commit is contained in:
Sanne Raymaekers 2023-05-08 16:06:35 +02:00
parent ce52f658d1
commit 8a8607cdf6
4 changed files with 24 additions and 12 deletions

View file

@ -9,6 +9,7 @@ type VMWareTargetOptions struct {
Datacenter string `json:"datacenter"`
Cluster string `json:"cluster"`
Datastore string `json:"datastore"`
Folder string `json:"folder"`
}
func (VMWareTargetOptions) isTargetOptions() {}