Remove docker0 from guest network interface enumeration
This commit is contained in:
parent
261ef836e0
commit
8e0746843d
|
@ -21,7 +21,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
if virtual
|
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")
|
interface_names = result.split("\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue