Some SSH command cleanup
This commit is contained in:
parent
b1ced46d7c
commit
f1c1dfad2f
|
@ -50,6 +50,7 @@ module VagrantPlugins
|
||||||
:extra_args => options[:ssh_args]
|
:extra_args => options[:ssh_args]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@logger.debug("Invoking `ssh` action on machine")
|
||||||
vm.action(:ssh, :ssh_opts => opts)
|
vm.action(:ssh, :ssh_opts => opts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -80,11 +81,6 @@ module VagrantPlugins
|
||||||
# Exit with the exit status we got from executing the command
|
# Exit with the exit status we got from executing the command
|
||||||
exit exit_status
|
exit exit_status
|
||||||
end
|
end
|
||||||
|
|
||||||
def ssh_connect(vm, opts)
|
|
||||||
@logger.debug("`exec` into ssh prompt")
|
|
||||||
vm.ssh.exec(opts)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue