Merge pull request #5045 from tai-ga/centos7+fusion-new-ifname-style
Fix new-style Network Device Naming on CentOS7+VMwarefusion
This commit is contained in:
commit
467bf6575d
|
@ -26,7 +26,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
interface_names = networks.map do |network|
|
||||
"eth#{network[:interface]}"
|
||||
"#{interface_names[network[:interface]]}"
|
||||
end
|
||||
else
|
||||
machine.communicate.sudo("/usr/sbin/biosdevname -d | grep Kernel | cut -f2 -d: | sed -e 's/ //;'") do |_, result|
|
||||
|
|
Loading…
Reference in New Issue