mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 07:21:40 -04:00
builder/googlecompute: Print out WinRM password in debug mode.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user