builder/googlecompute: Print out WinRM password in debug mode.
This commit is contained in:
parent
a4beff5112
commit
c0a4067151
|
@ -105,6 +105,11 @@ func (s *StepCreateWindowsPassword) Run(state multistep.StateBag) multistep.Step
|
||||||
|
|
||||||
ui.Message("Created password.")
|
ui.Message("Created password.")
|
||||||
|
|
||||||
|
if s.Debug {
|
||||||
|
ui.Message(fmt.Sprintf(
|
||||||
|
"Password (since debug is enabled): %s", data.password))
|
||||||
|
}
|
||||||
|
|
||||||
state.Put("winrm_password", data.password)
|
state.Put("winrm_password", data.password)
|
||||||
|
|
||||||
return multistep.ActionContinue
|
return multistep.ActionContinue
|
||||||
|
|
Loading…
Reference in New Issue