diff --git a/lib/vagrant-getredirection/controller.rb b/lib/vagrant-getredirection/controller.rb index 13a2ad9..87f7cec 100644 --- a/lib/vagrant-getredirection/controller.rb +++ b/lib/vagrant-getredirection/controller.rb @@ -34,9 +34,10 @@ def windows? def run(machine) instance_id = machine.id instance_name = machine.name - result=command("#{@vboxcmd} showvminfo #{instance_id} |grep \"^NIC [0-9] Rule\" | sed 's/^.*host port = \\([0-9]*\\).*guest port = \\([0-9]*\\)/\\1 => \\2/g' ") + results=command("#{@vboxcmd} showvminfo #{instance_id} |grep \"^NIC [0-9] Rule\" | sed 's/^.*host port = \\([0-9]*\\).*guest port = \\([0-9]*\\)/\\1 => \\2/g' ") puts "[#{instance_name}] - Redirect : " - puts "#{result}" + #puts "#{result}" + results.each { |result| puts "#{result}" } end def command(command,options = {}) diff --git a/vagrant-getredirection-0.0.1.gem b/vagrant-getredirection-0.0.1.gem deleted file mode 100644 index 703502a..0000000 Binary files a/vagrant-getredirection-0.0.1.gem and /dev/null differ