mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-14 02:02:02 -04:00
remove duplicate assignmnet
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user