Skip to content

Commit

Permalink
remove duplicate assignmnet
Browse files Browse the repository at this point in the history
  • Loading branch information
SwampDragons committed May 29, 2018
1 parent 846f94c commit 3afca69
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions common/shell-local/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 3afca69

Please sign in to comment.