Commit Graph

25 Commits

Author SHA1 Message Date
Megan Marsh fe7f5343fd add vmotion warning to vmware remote builder section, and move the remote builder section into a partial referenced by both the vmx and iso builders 2019-04-19 15:58:20 -07:00
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
* removed packer.Cache and references since packer.Cache is never used except in the download step. The download step now uses the new func packer.CachePath(targetPath) for this, the behavior is the same.
* removed download code from packer that was reimplemented into the go-getter library: progress bar, http download restart, checksuming from file, skip already downloaded files, symlinking, make a download cancellable by context.
* on windows if packer is running without symlinking rights and we are getting a local file, the file will be copied instead to avoid errors.
* added unit tests for step_download that are now CI tested on windows, mac & linux.
* files are now downloaded under cache dir `sha1(filename + "?checksum=" + checksum) + file_extension`
* since the output dir is based on the source url and the checksum, when the checksum fails, the file is auto deleted.
* a download file is protected and locked by a file lock,
* updated docs
* updated go modules and vendors
2019-03-13 12:11:58 +01:00
Ali Rizvi-Santiago 3f559f8782 Updated the documentation with the vmx option that it uses. 2019-01-25 02:40:34 -06:00
Ali Rizvi-Santiago 9d2f98394e Revert "Renamed the terse option, `cores`, to to the less-terse version `cores_per_socket`."
This reverts commit 0c37a3c68f and avoids bikeshedding from other committers.
2019-01-17 14:49:07 -06:00
Ali Rizvi-Santiago 0c37a3c68f Renamed the terse option, `cores`, to to the less-terse version `cores_per_socket`. 2019-01-17 10:39:19 -06:00
Ali Rizvi-Santiago 4d3f9cc1af Updated the documentation for the vmware-iso builder to describe the `cores` option. 2019-01-17 10:39:19 -06:00
Ali Rizvi-Santiago f8c23c1808 Updated things related to the vmware-iso builder to include @azr's suggestions. 2018-11-22 21:03:06 -06:00
Ali Rizvi-Santiago fb7ce9f2b5 Renamed both `cpu_count` and `memory_size` to `cpus` and `memory` (respective). 2018-11-17 06:36:02 -06:00
Ali Rizvi-Santiago 5467edbbc0 Updated the docs for the vmware-iso builder to be more descriptive wrt the cpu_count, memory_size, sound, and usb options. 2018-11-17 06:08:13 -06:00
Ali Rizvi-Santiago e5f8ed7a0f Added docs for the vmware-iso builder to describe the cpu_count and memory_size options. 2018-11-17 06:08:13 -06:00
Megan Marsh ebc7130d77 docs 2018-11-12 13:21:25 -08:00
Megan Marsh 68c9e34bfe add new display_name template option 2018-11-09 10:54:31 -08:00
Megan Marsh 34f323ce9e update keep_registered docs for vmware 2018-09-04 14:25:15 -07:00
Jeffrey Martin 1833b4edaf
validate compaction is skipped when not 'thin' 2018-08-30 16:44:00 -05:00
Jeffrey Martin b51cd22b21
document ESXi disk compaction & use verbose option 2018-08-30 16:44:00 -05:00
Megan Marsh 31d4f8af45 use a time.Duration instead of a hardcoded ms 2018-08-23 13:16:01 -07:00
Megan Marsh 918db58604 added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used 2018-08-22 11:37:56 -07:00
Adam Robinson 2496e09d75 Document vnc_disable_password=true requirement for ESXi 6.5+ 2018-07-13 09:26:02 -04:00
Adam Robinson da277a440c fix reversed logic in disable_vnc documentation 2018-07-13 09:13:58 -04:00
DanHam 71f6494569
Docs: Try and clarify export and export related opts only work with ESXi 2018-07-02 18:13:19 +01:00
DanHam 66f9b64ff1
Docs: Users must set remote_password when exporting the VM with ovftool 2018-07-02 18:13:19 +01:00
Tyler Tidman 90fde9fc46 More cleanup in communicator and builder docs
Tested and verified using "make website".
Fix up the vmware, vbox and qemu builder and communicator docs.
Sort more things in alphabetical order.
Use backtick delimiters for values.
Wrap long lines to 80 characters.
Show actual default value for boot_wait.
Copy vrdp_bind_address info from vbox iso to vbox ovf builder.
Show defaults for vmx_remove_ethernet_interfaces.
Show default port values for ssh in vbox ovf builder.
Remove executable bit on openstack builder doc.
Show default for skip_compaction in vmware vmx builder.
Add a bunch of missing periods.
Remove a few redundant commas.
2018-04-21 20:50:40 -04:00
Matthew Hooker 40d054a1a7
add recommended vmware network setting when using HTTPIP. 2018-04-20 12:28:11 -07:00
Matthew Hooker f5b09c8c38
set vim pandoc modeline 2018-04-19 14:26:30 -07:00
Matthew Hooker 4454e4fb4f
Use erb to add support for partials. 2018-04-19 14:26:30 -07:00