From 6f041743c82a56c1ba009ca9c30dd256788c86e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20PORTE?= Date: Thu, 18 Jul 2013 11:36:47 +0200 Subject: [PATCH] Correction EOL --- lib/vagrant-getredirection/controller.rb | 5 +++-- vagrant-getredirection-0.0.1.gem | Bin 3584 -> 0 bytes 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 vagrant-getredirection-0.0.1.gem 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 703502aec3b3aafcead93a354814361cda5f376d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3584 zcmYdEEJ@TWNi5P!uVSDTFaQEG6B7my4Fu@4p_!2pObjA#Xl!g`z@T72D+eK)TUreC zJ<$5{jMUT|WC=7jA$hRZkUWQ`eXw%nyEzz6D(w$oV15&RKmWD`&%M`g*C)g#cy^uh z-TkhO``qgd^8D31UT?Vl?NUi&l5wX&^e2^@xq{E@<#SK>z1@;s=wQyn9iK9B%8`Eg zqZ*3y<$f4-&ESYJtu4?uQu+D$#|{b4U5`J0cp3OL_7(qpo9eP33~k?q{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