Merge pull request #6610 from jharshman/vagrant-6608
Vagrant Issue #6608
This commit is contained in:
commit
a38dba0d4f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue