diff --git a/plugins/guests/fedora/cap/configure_networks.rb b/plugins/guests/fedora/cap/configure_networks.rb index b95d0bdb7..5ea1fda9f 100644 --- a/plugins/guests/fedora/cap/configure_networks.rb +++ b/plugins/guests/fedora/cap/configure_networks.rb @@ -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