Merge pull request #6488 from dvorak/rescue-enetunreach

Add Errno::ENETUNREACH to SSH rescue
This commit is contained in:
Mitchell Hashimoto 2015-11-18 15:13:59 -08:00
commit c754c0bf34
1 changed files with 1 additions and 1 deletions

View File

@ -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