remove duplicate assignmnet

This commit is contained in:
Megan Marsh 2018-05-29 11:47:27 -07:00
parent 846f94c964
commit 3afca6905b
1 changed files with 0 additions and 3 deletions

View File

@ -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{