From 3afca6905b7a8631f4049c33bfb8a3e742b101d2 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 29 May 2018 11:47:27 -0700 Subject: [PATCH] remove duplicate assignmnet --- common/shell-local/run.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/shell-local/run.go b/common/shell-local/run.go index 705a5ff90..51bb047b0 100644 --- a/common/shell-local/run.go +++ b/common/shell-local/run.go @@ -106,9 +106,6 @@ func createInlineScriptFile(config *Config) (string, error) { log.Printf("[INFO] (shell-local): Prepending inline script with %s", shebang) writer.WriteString(shebang) } - config.Ctx.Data = &EnvVarsTemplate{ - WinRMPassword: getWinRMPassword(config.PackerBuildName), - } // generate context so you can interpolate the command config.Ctx.Data = &EnvVarsTemplate{