builder/googlecompute: Print out WinRM password in debug mode.

pull/3932/head
Rickard von Essen 10 years ago
parent a4beff5112
commit c0a4067151
No known key found for this signature in database
GPG Key ID: E0C0327388876CBA

@ -105,6 +105,11 @@ func (s *StepCreateWindowsPassword) Run(state multistep.StateBag) multistep.Step
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)
return multistep.ActionContinue

Loading…
Cancel
Save