Merge pull request #1672 from ryanbreed/patch-1
Use consistent escaping for ovftool uri creds
This commit is contained in:
commit
1906c71f2c
|
@ -130,7 +130,7 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
|
||||||
fmt.Sprintf("%s", vmx),
|
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),
|
url.QueryEscape(p.config.Username),
|
||||||
p.config.Password,
|
url.QueryEscape(p.config.Password),
|
||||||
p.config.Host,
|
p.config.Host,
|
||||||
p.config.Datacenter,
|
p.config.Datacenter,
|
||||||
p.config.Cluster,
|
p.config.Cluster,
|
||||||
|
|
Loading…
Reference in New Issue