Fixed centos 7 networks if using more than 3 ethernet adapters.
This commit is contained in:
parent
ffe0ef71ad
commit
e998d6b0f4
|
@ -25,7 +25,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
if virtual
|
||||
machine.communicate.sudo("ls /sys/class/net | egrep -v lo\\|docker") do |_, result|
|
||||
machine.communicate.sudo("ls -Sv /sys/class/net | egrep -v lo\\|docker") do |_, result|
|
||||
interface_names = result.split("\n")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue