diff --git a/post-processor/vsphere/post-processor.go b/post-processor/vsphere/post-processor.go index 81dc27f87..38bff43aa 100644 --- a/post-processor/vsphere/post-processor.go +++ b/post-processor/vsphere/post-processor.go @@ -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,