From bbc52f9a7d24297630fcaf127fceedd861d8ecc5 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Thu, 14 Feb 2019 12:10:58 -0800 Subject: [PATCH] add noSSLVerify to ovftool args --- builder/vmware/common/driver_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/common/driver_config.go b/builder/vmware/common/driver_config.go index b4014768f..b600ae237 100644 --- a/builder/vmware/common/driver_config.go +++ b/builder/vmware/common/driver_config.go @@ -69,7 +69,7 @@ func (c *DriverConfig) Validate(SkipExport bool) error { // now, so that we don't fail for a simple mistake after a long // build ovftool := GetOVFTool() - ovfToolArgs := []string{"--verifyOnly", fmt.Sprintf("vi://%s:%s@%s", + ovfToolArgs := []string{"--noSSLVerify", "--verifyOnly", fmt.Sprintf("vi://%s:%s@%s", url.QueryEscape(c.RemoteUser), url.QueryEscape(c.RemotePassword), c.RemoteHost)}