builder/amazonebs: Slight slepe between connection attempts to SSH

pull/15/head
Mitchell Hashimoto 13 years ago
parent 352f875dbf
commit ccc95e7e5c

@ -66,6 +66,10 @@ func (s *stepConnectSSH) Run(state map[string]interface{}) multistep.StepAction
if err == nil {
break
}
// A brief sleep so we're not being overly zealous attempting
// to connect to the instance.
time.Sleep(500 * time.Millisecond)
}
connected <- true

Loading…
Cancel
Save