Commit e9d916a7 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/amazon: don't print windows password

parent 8f6ecfd9
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment