builder/amazon: improve messaging

This commit is contained in:
Mitchell Hashimoto 2015-06-13 22:42:10 -07:00
parent d23f254b76
commit 022a115d19
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ func (s *StepGetPassword) Run(state multistep.StateBag) multistep.StepAction {
waitDone := make(chan bool, 1) waitDone := make(chan bool, 1)
go func() { go func() {
ui.Say("Waiting for auto-generated password for instance...") 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.")
password, err = s.waitForPassword(state, cancel) password, err = s.waitForPassword(state, cancel)
waitDone <- true waitDone <- true
}() }()