Merge pull request #6610 from jharshman/vagrant-6608

Vagrant Issue #6608
This commit is contained in:
Seth Vargo 2016-02-03 10:14:35 -05:00
commit a38dba0d4f
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module VagrantPlugins
# Read network interface names # Read network interface names
interfaces = [] 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") interfaces = result.split("\n")
end end