packer/builder/vmware/common
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
..
artifact.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
artifact_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
config_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
driver.go helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
driver_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
driver_config_test.go builder/vmware/*: can specify path to fusion [GH-677] 2013-12-27 08:37:39 -07:00
driver_fusion5.go helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
driver_fusion6.go fmt 2014-10-28 08:35:21 -07:00
driver_mock.go helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
driver_mock_test.go builder/vmware/common: Mock driver and test for DHCP Lease IP lookup 2013-12-24 11:55:44 -07:00
driver_player5.go helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
driver_player5_windows.go builder/vmware: add VMWare Player 6 support 2014-05-12 18:35:37 -07:00
driver_player6.go builder/vmware: add VMWare Player 6 support 2014-05-12 18:35:37 -07:00
driver_player6_windows.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_player_unix.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_workstation9.go helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
driver_workstation9_windows.go builder/vmware: move drivers out to common 2013-12-25 15:50:12 -07:00
driver_workstation10.go builder/vmware-vmx: add cloning support on Windows [GH-824] 2014-04-06 15:31:49 -07:00
driver_workstation10_windows.go Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
driver_workstation_unix.go Fix License check to work with licensed vmware player 2016-07-28 10:42:58 +02:00
guest_ip.go MAC address can be upper or lower case 2015-03-18 16:40:05 +00:00
guest_ip_test.go builder/vmware/common: Mock driver and test for DHCP Lease IP lookup 2013-12-24 11:55:44 -07:00
host_ip.go builder/virtualbox-ovf,vmware-vmx: add boot_command support 2014-05-12 21:19:24 -07:00
host_ip_ifconfig.go builder/vmware: Try to use ip address to find host IP 2017-01-17 10:33:48 +01:00
host_ip_ifconfig_test.go builder/virtualbox-ovf,vmware-vmx: add boot_command support 2014-05-12 21:19:24 -07:00
host_ip_vmnetnatconf.go builder/virtualbox-ovf,vmware-vmx: add boot_command support 2014-05-12 21:19:24 -07:00
host_ip_vmnetnatconf_test.go builder/virtualbox-ovf,vmware-vmx: add boot_command support 2014-05-12 21:19:24 -07:00
output_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
output_config_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
output_dir.go builder/vmware: move outputdir stuff to common 2013-12-24 11:21:02 -07:00
output_dir_local.go builder/vmware/common: make the dir private for LocalOutputDir 2013-12-24 11:22:22 -07:00
output_dir_local_test.go builder/vmware: move outputdir stuff to common 2013-12-24 11:21:02 -07:00
run_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
run_config_test.go builder/vmware/vmx: run the VMs 2013-12-26 15:26:09 -07:00
shutdown_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
shutdown_config_test.go builder/vmware/vmx: shutdown 2013-12-26 15:31:23 -07:00
ssh.go Specify InsecureIgnoreHostKey for HostKeyCallback 2017-05-20 16:17:04 -04:00
ssh_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
ssh_config_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_clean_files.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_clean_vmx.go builder/vmware: Add vmx_remove_ethernet_interfaces 2017-05-24 18:53:25 -05:00
step_clean_vmx_test.go builder/vmware: Add vmx_remove_ethernet_interfaces 2017-05-24 18:53:25 -05:00
step_compact_disk.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_compact_disk_test.go builder/vmware: StepCompactDisk 2013-12-24 23:09:22 -07:00
step_configure_vmx.go go files are 0644 2017-04-25 12:50:58 -07:00
step_configure_vmx_test.go builder/vmware: add more stuff to common 2013-12-23 23:07:43 -07:00
step_configure_vnc.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_configure_vnc_test.go Adds password protection for VNC on VMWare 2016-08-19 13:26:16 +02:00
step_output_dir.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_output_dir_test.go builder/vmware/common: make the dir private for LocalOutputDir 2013-12-24 11:22:22 -07:00
step_prepare_tools.go builder/vmware/common: tests for StepPrepareTools 2014-05-10 10:16:53 -07:00
step_prepare_tools_test.go builder/vmware/common: more tests 2014-05-10 10:19:14 -07:00
step_run.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_run_test.go builder/vmware: move StepRun to common 2013-12-24 18:12:43 -07:00
step_shutdown.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_shutdown_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_suppress_messages.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_suppress_messages_test.go builder/vmware/common: StepSuppressMessages 2013-12-24 14:26:44 -07:00
step_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_type_boot_command.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_upload_tools.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
tools_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
vmx.go go files are 0644 2017-04-25 12:50:58 -07:00
vmx_config.go builder/vmware: Add vmx_remove_ethernet_interfaces 2017-05-24 18:53:25 -05:00
vmx_config_test.go Revert "Correctly call prepare function in test" 2016-02-02 12:41:37 -08:00
vmx_test.go go files are 0644 2017-04-25 12:50:58 -07:00