Skip to content

Commit

Permalink
Correction EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc PORTE committed Jul 18, 2013
1 parent b236995 commit 6f04174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/vagrant-getredirection/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {})
Expand Down
Binary file removed vagrant-getredirection-0.0.1.gem
Binary file not shown.

0 comments on commit 6f04174

Please sign in to comment.