add recommended vmware network setting when using HTTPIP.

This commit is contained in:
Matthew Hooker 2018-04-20 12:28:11 -07:00
parent 45b5199453
commit 40d054a1a7
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 6 additions and 0 deletions

View File

@ -429,6 +429,12 @@ e.g. `PACKER_KEY_INTERVAL=10ms` to speed through the boot command.
<%= partial "partials/builders/boot-command" %> <%= partial "partials/builders/boot-command" %>
-&gt; **Note**: for the `HTTPIP` to be resolved correctly, your VM's network
configuration has to include a `hostonly` or `nat` type network interface.
If you are using this feature, it is recommended to leave the default network
configuration while you are building the VM, and use the `vmx_data_post` hook
to modify the network configuration after the VM is done building.
Example boot command. This is actually a working boot command used to start an Example boot command. This is actually a working boot command used to start an
Ubuntu 12.04 installer: Ubuntu 12.04 installer: