Get rid of arbitrary 4 second sleep for SSH
This commit is contained in:
parent
43c14dfb26
commit
8322f20f4b
|
@ -1,5 +1,10 @@
|
|||
## 1.2.1 (unreleased)
|
||||
|
||||
IMPROVEMENTS:
|
||||
|
||||
- Get rid of arbitrary 4 second sleep when connecting via SSH. The
|
||||
issue it was attempting to work around may be gone now.
|
||||
|
||||
BUG FIXES:
|
||||
|
||||
- Chef solo run list properly set. [GH-1608]
|
||||
|
|
|
@ -238,11 +238,6 @@ module VagrantPlugins
|
|||
|
||||
@connection = connection
|
||||
|
||||
# This is hacky but actually helps with some issues where
|
||||
# Net::SSH is simply not robust enough to handle... see
|
||||
# issue #391, #455, etc.
|
||||
sleep 4
|
||||
|
||||
# Yield the connection that is ready to be used and
|
||||
# return the value of the block
|
||||
return yield connection if block_given?
|
||||
|
|
Loading…
Reference in New Issue