Raise an exception if the provider is reporting SSH is not ready
This commit is contained in:
parent
412af5542d
commit
0b9589a0fa
|
@ -140,8 +140,10 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# XXX: We need to raise some exception if SSH is not ready
|
# Get the SSH info for the machine, raise an exception if the
|
||||||
|
# provider is saying that SSH is not ready.
|
||||||
ssh_info = @machine.ssh_info
|
ssh_info = @machine.ssh_info
|
||||||
|
raise Vagrant::Errors::SSHNotReady if ssh_info.nil?
|
||||||
|
|
||||||
# Build the options we'll use to initiate the connection via Net::SSH
|
# Build the options we'll use to initiate the connection via Net::SSH
|
||||||
opts = {
|
opts = {
|
||||||
|
|
Loading…
Reference in New Issue