From 95f2686dd42ee525cf7b4cb975ed4971dbe53975 Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Wed, 20 May 2015 10:47:54 +0500 Subject: [PATCH] fix internal network configuration --- vagrant_rancheros_guest_plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant_rancheros_guest_plugin.rb b/vagrant_rancheros_guest_plugin.rb index d214ac9..23386dd 100644 --- a/vagrant_rancheros_guest_plugin.rb +++ b/vagrant_rancheros_guest_plugin.rb @@ -23,7 +23,7 @@ module VagrantPlugins def self.configure_networks(machine, networks) machine.communicate.tap do |comm| interfaces = [] - comm.sudo("ip link show|grep eth[1-9]|awk -e '{print $2}'|sed -e 's/:$//'") do |_, result| + comm.sudo("ip link show|grep eth[1-9]|awk '{print $2}'|sed -e 's/:$//'") do |_, result| interfaces = result.split("\n") end