Merge pull request #1672 from ryanbreed/patch-1

Use consistent escaping for ovftool uri creds
This commit is contained in:
Seth Vargo 2014-11-26 16:08:56 -05:00
commit 1906c71f2c
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
fmt.Sprintf("%s", vmx),
fmt.Sprintf("vi://%s:%s@%s/%s/host/%s/Resources/%s/",
url.QueryEscape(p.config.Username),
p.config.Password,
url.QueryEscape(p.config.Password),
p.config.Host,
p.config.Datacenter,
p.config.Cluster,