Fixed centos 7 networks if using more than 3 ethernet adapters.

This commit is contained in:
Altex 2016-03-05 22:25:59 +03:00
parent ffe0ef71ad
commit e998d6b0f4
1 changed files with 1 additions and 1 deletions

View File

@ -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