Skip to content

Commit

Permalink
Merge pull request #7104 from altexdim/fix_centos_networks
Browse files Browse the repository at this point in the history
Fixed centos 7 networks if using more than 3 ethernet adapters.
  • Loading branch information
sethvargo committed Mar 7, 2016
2 parents be1421f + 9e99095 commit c6c9942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/guests/fedora/cap/configure_networks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def self.configure_networks(machine, networks)
end

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

Expand Down

0 comments on commit c6c9942

Please sign in to comment.