lib/hobo/lib/vm/command.rb in hobo-inviqa-0.0.9.pre.rc1 vs lib/hobo/lib/vm/command.rb in hobo-inviqa-0.0.9.pre.rc2
- old
+ new
@@ -35,9 +35,10 @@
# TODO Refactor in to ssh helper with similar opts to shell helper
# TODO Migrate all vm_shell functionality this direction
def run
return if @command.nil?
+ require 'net/ssh/simple'
opts = @@vm_inspector.ssh_config.merge(@opts)
Net::SSH::Simple.sync do
ssh_opts = {
:user => opts[:ssh_user],
\ No newline at end of file