Merge pull request #1615 from hkhkhk1987/patch-1

post-processor/vsphere: fix object address by appending "/"
This commit is contained in:
Mitchell Hashimoto 2014-10-27 16:46:36 -07:00
commit 24d641ea32
1 changed files with 1 additions and 1 deletions

View File

@ -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,