mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-13 10:40:03 -04:00
Merge pull request #6488 from dvorak/rescue-enetunreach
Add Errno::ENETUNREACH to SSH rescue
This commit is contained in:
commit
c754c0bf34
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ module VagrantPlugins
|
|||
rescue Errno::EHOSTDOWN
|
||||
# This is raised if we get an ICMP DestinationUnknown error.
|
||||
raise Vagrant::Errors::SSHHostDown
|
||||
rescue Errno::EHOSTUNREACH
|
||||
rescue Errno::EHOSTUNREACH, Errno::ENETUNREACH
|
||||
# This is raised if we can't work out how to route traffic.
|
||||
raise Vagrant::Errors::SSHNoRoute
|
||||
rescue Net::SSH::Exception => e
|
||||
|
|
|
|||
Loading…
Reference in a new issue