diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vagrant/files/box/configure_networks.rb b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vagrant/files/box/configure_networks.rb index e2a4c65d68..3990500dad 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vagrant/files/box/configure_networks.rb +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-vagrant/files/box/configure_networks.rb @@ -117,7 +117,7 @@ module VagrantPlugins def self.match_by_name(machine) match = {} machine.communicate.tap do |comm| - comm.sudo("ifconfig -a | grep ^en | cut -f1 -d:") do |_, result| + comm.sudo("ifconfig -a | grep '^en\\|^eth' | cut -f1 -d:") do |_, result| result.split("\n").each_with_index do |name, interface| match[interface] = "Name=#{name}" end