Update post-processor.go
the ovftool can't refer to an object vi address without a "/" at the end of the address
This commit is contained in:
parent
67fad6c429
commit
f61cc3f99c
|
@ -128,7 +128,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
|
|||
fmt.Sprintf("--network=%s", p.config.VMNetwork),
|
||||
fmt.Sprintf("--vmFolder=%s", p.config.VMFolder),
|
||||
fmt.Sprintf("%s", vmx),
|
||||
fmt.Sprintf("vi://%s:%s@%s/%s/host/%s/Resources/%s",
|
||||
fmt.Sprintf("vi://%s:%s@%s/%s/host/%s/Resources/%s/",
|
||||
url.QueryEscape(p.config.Username),
|
||||
p.config.Password,
|
||||
p.config.Host,
|
||||
|
|
Loading…
Reference in New Issue