c4439aba82
This commit adds a new option, `vmx_remove_ethernet_interfaces`, to both of the VMWare builders. This is useful when building Vagrant boxes, since Vagrant now produces output such as: ``` WARNING: The VMX file for this box contains a setting that is automatically overwritten by Vagrant when started. Vagrant will stop overwriting this setting in an upcoming release which may pre vent proper networking setup. Below is the detected VMX setting: ethernet0.pcislotnumber = "33" If networking fails to properly configure, it may require this VMX setting. It can be manually applied via the Vagrantfile: Vagrant.configure(2) do |config| config.vm.provider :vmware_fusion do |vmware| vmware.vmx["ethernet0.pcislotnumber"] = "33" end end ``` This can be avoided entirely by removing the ethernet adapters from the VMX file prior to packaging as a Vagrant box, in which case adapters are created as expected according to the Vagrantfile specification. |
||
---|---|---|
.. | ||
builder.go | ||
builder_test.go | ||
config.go | ||
config_test.go | ||
step_clone_vmx.go | ||
step_clone_vmx_test.go | ||
step_test.go |