packer-cn/builder/vmware/vmx
James Nugent c4439aba82 builder/vmware: Add vmx_remove_ethernet_interfaces
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.
2017-05-24 18:53:25 -05:00
..
builder.go builder/vmware: Add vmx_remove_ethernet_interfaces 2017-05-24 18:53:25 -05:00
builder_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
config_test.go tests actually test the floppies 2016-07-27 21:59:21 +01:00
step_clone_vmx.go go files are 0644 2017-04-25 12:50:58 -07:00
step_clone_vmx_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00