Merge pull request #7314 from hashicorp/fix_7234

add noSSLVerify to ovftool args
This commit is contained in:
Megan Marsh 2019-02-19 16:54:48 -08:00 committed by GitHub
commit 5cc442872e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 // now, so that we don't fail for a simple mistake after a long
// build // build
ovftool := GetOVFTool() 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.RemoteUser),
url.QueryEscape(c.RemotePassword), url.QueryEscape(c.RemotePassword),
c.RemoteHost)} c.RemoteHost)}