communicators/ssh: clear out some comments
This commit is contained in:
parent
890dc21791
commit
15f16181f5
|
@ -86,16 +86,11 @@ module VagrantPlugins
|
||||||
rescue Vagrant::Errors::SSHKeyTypeNotSupported
|
rescue Vagrant::Errors::SSHKeyTypeNotSupported
|
||||||
raise
|
raise
|
||||||
rescue Vagrant::Errors::SSHKeyBadOwner
|
rescue Vagrant::Errors::SSHKeyBadOwner
|
||||||
# TODO: It would be more polite to check for key ownership/permissions before starting the machine
|
|
||||||
# so that this exception would never happen (currently it may happen)
|
|
||||||
raise
|
raise
|
||||||
rescue Vagrant::Errors::SSHKeyBadPermissions
|
rescue Vagrant::Errors::SSHKeyBadPermissions
|
||||||
# TODO: It would be more polite to check for key ownership/permissions before starting the machine
|
|
||||||
# so that this exception would never happen (currently it may happen)
|
|
||||||
raise
|
raise
|
||||||
rescue Vagrant::Errors::VagrantError => e
|
rescue Vagrant::Errors::VagrantError => e
|
||||||
# Ignore it, SSH is not ready, some other error.
|
# Ignore it, SSH is not ready, some other error.
|
||||||
message = e.message
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# If we have a message to show, then show it. We don't show
|
# If we have a message to show, then show it. We don't show
|
||||||
|
|
Loading…
Reference in New Issue