17 Commits

Author SHA1 Message Date
Megan Marsh
c979cad579 add a fixer and update docs for spot_price_auto_product 2019-07-01 13:01:41 -07:00
Megan Marsh
708165eaa8 refactoring step_run_spot_instance and swapping out the calls to create a spot instance with a call to create a spot fleet of one, so that we can be more flexible with the instance type when desired 2019-05-24 09:32:54 -07:00
Megan Marsh
3222f361ce add partials 2019-05-17 14:33:06 -07:00
Adrien Delorme
4eecc7a580 document alias keys usage
refactor kms_key_id doc into the same partial
2019-05-14 12:29:28 +02:00
Adrien Delorme
4e49a3307d
Merge pull request #7538 from hashicorp/ssh_explanation_table
add a table explaining what to expect with different ssh options for …
2019-04-23 15:43:25 +02:00
Adrien Delorme
ee743f0b7c
Update website/source/partials/builders/_aws-ssh-differentiation-table.html.md 2019-04-23 15:42:59 +02:00
Megan Marsh
8c9f2f5e1c add a table explaining what to expect with different ssh options for the amazon builders. Also convert builder docs to .erb to support partials 2019-04-19 16:35:15 -07:00
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
Megan Marsh
992ab93708 fix quoting in ssh partial 2019-04-17 09:55:21 -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
Stephen Fox
094c87e395 Remove 'SSHPublicKeyUrlEncoded', use 'urlquery' instead.
Per code review feedback, the Go template library supports
encoding variables in URL query format. Instead of exposing
two different public key formats (unmodified string and a
URL encoded string), just have the user apply the 'urlquery'
modifier to their template.
2019-02-28 17:06:51 -05:00
Stephen Fox
0378f3ad35 Initial documentation for VirtualBox SSH key pair vars. 2019-02-06 16:03:40 -05:00
Matthew Hooker
7d43324359
add menu key.
Replaces #5989
2018-04-19 14:26:31 -07:00
Matthew Hooker
84894ca459
remove nonsensical negative waits. 2018-04-19 14:26:30 -07:00
Matthew Hooker
9a839c401b
fix formatting 2018-04-19 14:26:30 -07:00
Matthew Hooker
c753391f43
fill out and reformat the boot command docs 2018-04-19 14:26:30 -07:00
Matthew Hooker
36aeaf27b3
Use a partial for the boot command docs.
I know we rejected this idea back in #4061, but we are closer to being at a point
where we can host a version of the website on master, and this will help push that through.
2018-04-19 14:26:30 -07:00