Skip to content

Commit

Permalink
Fix import error on command
Browse files Browse the repository at this point in the history
  • Loading branch information
msimonin committed Apr 16, 2017
1 parent 9d7511e commit d5b69cc
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions lib/vagrant-g5k/command.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'net/ssh/multi'
require 'vagrant-g5k/util/g5k_connection'
require 'vagrant-g5k/g5k_connection'
include Process

module VagrantPlugins
Expand All @@ -12,21 +12,9 @@ def self.synopsis
end

def execute
# TODO
options = {}
opts = OptionParser.new do |o|
o.banner = 'Usage: vagrant g5k [vm-name]'
o.separator ''
o.version = VagrantPlugins::G5K::VERSION
o.program_name = 'vagrant g5k'
end
argv = parse_options(opts)
with_target_vms(argv, options) do |machine|
puts machine.config.vm.networks
end
puts "sleeping"
wait
puts 'Nothing implemented yet ;)'
end

end
end
end
Expand Down

0 comments on commit d5b69cc

Please sign in to comment.