builder/amazon: don't print windows password

pull/2240/head
Mitchell Hashimoto 11 years ago
parent 8f6ecfd9e3
commit e9d916a7bc

@ -48,9 +48,7 @@ func (s *StepGetPassword) Run(state multistep.StateBag) multistep.StepAction {
ui.Say("Waiting for auto-generated password for instance...")
ui.Message(
"It is normal for this process to take up to 15 minutes,\n" +
"but it usually takes around 5. Please wait. After the\n" +
"password is read, it will printed out below. Since it should\n" +
"be a temporary password, this should be a minimal security risk.")
"but it usually takes around 5. Please wait.")
password, err = s.waitForPassword(state, cancel)
waitDone <- true
}()
@ -68,7 +66,7 @@ WaitLoop:
return multistep.ActionHalt
}
ui.Message(fmt.Sprintf(" \nPassword retrieved: %s", password))
ui.Message(fmt.Sprintf(" \nPassword retrieved!"))
s.Comm.WinRMPassword = password
break WaitLoop
case <-timeout:

Loading…
Cancel
Save