Merge pull request #3856 from hippich/fix/master/coreos_interface_name

guests/coreos: look for enps network interfaces
This commit is contained in:
Mitchell Hashimoto 2014-05-19 21:31:48 -07:00
commit 02e20e2bba
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module VagrantPlugins
# Read network interface names
interfaces = []
comm.sudo("ifconfig | grep enp0 | cut -f1 -d:") do |_, result|
comm.sudo("ifconfig | grep 'enp0\\|ens' | cut -f1 -d:") do |_, result|
interfaces = result.split("\n")
end