diff --git a/plugins/guests/coreos/cap/configure_networks.rb b/plugins/guests/coreos/cap/configure_networks.rb index c92b2cd90..819f6f818 100644 --- a/plugins/guests/coreos/cap/configure_networks.rb +++ b/plugins/guests/coreos/cap/configure_networks.rb @@ -15,7 +15,7 @@ module VagrantPlugins # Read network interface names interfaces = [] - comm.sudo("ifconfig | grep 'enp0\\|ens' | cut -f1 -d:") do |_, result| + comm.sudo("ifconfig | grep '(e[n,t][h,s,p][[:digit:]]([a-z][[:digit:]])?' | cut -f1 -d:") do |_, result| interfaces = result.split("\n") end