Remove docker0 from guest network interface enumeration

This commit is contained in:
Jim Minter 2015-05-12 21:18:31 +01:00
parent 261ef836e0
commit 8e0746843d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module VagrantPlugins
end
if virtual
machine.communicate.sudo("ls /sys/class/net | grep -v lo") do |_, result|
machine.communicate.sudo("ls /sys/class/net | egrep -v lo\\|docker") do |_, result|
interface_names = result.split("\n")
end