Merge pull request #3856 from hippich/fix/master/coreos_interface_name
guests/coreos: look for enps network interfaces
This commit is contained in:
commit
02e20e2bba
|
@ -15,7 +15,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
# Read network interface names
|
# Read network interface names
|
||||||
interfaces = []
|
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")
|
interfaces = result.split("\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue