15880 Commits

Author SHA1 Message Date
Megan Marsh
b52143f528 update docs for command and make sure they get generated properly so they appear in the docs 2020-08-05 10:30:16 -07:00
Sylvia Moss
dcacf7ad4c
Add vSphere HCL examples to the docs (#9674) 2020-08-05 19:23:52 +02:00
Megan Marsh
aede34079d provide more helpful error message than the one returned by the client, without context 2020-08-05 09:52:11 -07:00
ntoofu
a53e81d9a2 Make docs more clear
https://github.com/hashicorp/packer/pull/9704#discussion_r465393240
2020-08-06 01:11:02 +09:00
Sylvia Moss
9181a435aa
Make max_retries a string to allow variable interpolation (#9673) 2020-08-05 17:41:20 +02:00
jhawk28
6b8d086e94
alt, ctrl, and shift should be outside variables (#9702) 2020-08-05 17:36:40 +02:00
Megan Marsh
825deef43d
Merge pull request #9665 from hashicorp/vsphere_clone_customization
Add step to customize cloned VM
2020-08-05 08:30:31 -07:00
Sylvia Moss
dd37a10355
fix configuration_parameters (#9713) 2020-08-05 16:57:12 +02:00
Megan Marsh
f295b6d2e5
change default target to just make the dev binaries (#9706) 2020-08-05 13:32:24 +02:00
Megan Marsh
6a8f49ad1d
Merge pull request #9698 from VladRassokhin/fixup-8883
Fixup for #8883: interpolate in file provisioner
2020-08-04 17:19:12 -07:00
Megan Marsh
c63e260d7d
Merge pull request #9696 from jfpanisset/remove_iso_checksum_type
Remove iso_checksum_type from documentation
2020-08-04 16:24:15 -07:00
Vladislav Rassokhin
2ac9f5a276 Fixup for #8883: interpolate in file provisioner
* `UploadDir` should receive interpolated `Destination`
* Render `Destination` only once
2020-08-02 21:09:47 +03:00
ntoofu
5493285f65 Add directory_permission config option to vsphere builder 2020-08-02 15:02:31 +09:00
Brad Ackerman
133c8a68b0
Add git mod vendor changes. 2020-08-01 22:24:56 -07:00
Brad Ackerman
fb1a4bd86f
Add placeholder diskattacher for other OSes. 2020-08-01 21:59:43 -07:00
Brad Ackerman
5ce6c8564c
Fix ordering to match master for better diffs. 2020-08-01 21:30:44 -07:00
Brad Ackerman
13a4e47efe
Increase wait time for device to be created. 2020-08-01 21:22:50 -07:00
Brad Ackerman
364c415294
Add FreeBSD support. 2020-08-01 21:22:50 -07:00
Jean-Francois Panisset
3ce148110c iso_checksum_type was removed from 1.6.0, checksum type is now
inferred from iso_checksum string length or prefix.

Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
2020-08-01 21:02:31 -07:00
Etan Reisner
a28edbaa0b
Fix skip_save_build_region in the ebssurrogate builder. (#9666) 2020-07-31 16:01:46 -04:00
Megan Marsh
3ff3d9fedd
Merge pull request #9689 from hashicorp/shell_docs
add hcl examples to shell provisioner docs
2020-07-31 12:51:01 -07:00
Megan Marsh
767e2fe06b update docs for shell provisioner to include hcl examples 2020-07-31 11:28:14 -07:00
Megan Marsh
ea45efc9b8
Merge pull request #9677 from hashicorp/b-scaleway-user-agent-config
builder/scaleway: Remove mapstructure configuration for the UserAgent runtime-only field
2020-07-31 10:26:36 -07:00
Megan Marsh
cce424fdab
Merge pull request #9682 from hashicorp/qemu_hcl_examples
Add qemu hcl examples
2020-07-31 10:20:09 -07:00
Megan Marsh
7967b788d2
Merge pull request #9683 from hashicorp/vagrant_hcl2_example
Add Vagrant builder HCL2 example
2020-07-31 10:15:28 -07:00
Megan Marsh
6698be6008 fix typo in hcl config 2020-07-31 10:08:10 -07:00
sylviamoss
f853f07832 add vagrant builder hcl example 2020-07-31 17:50:36 +02:00
sylviamoss
fc2e94554a add qemu hcl examples 2020-07-31 17:32:08 +02:00
Wilken Rivera
a76c6c55a9 Remove HCL config for runtime field UserAgent
Results before change
```
⇶  packer build /tmp/minimal.pkr.hcl
Error: 1 error occurred:
* unknown configuration key: '"user_agent"'

on /tmp/minimal.pkr.hcl line 1:
(source code not available)

==> Builds finished but no artifacts were created.
```

Results after change
```
⇶  packer build /tmp/minimal.pkr.hcl
scaleway.required: output will be in this color.

==> scaleway.required: Creating temporary ssh key for server...
==> scaleway.required: Creating server...
```
2020-07-31 11:22:55 -04:00
Megan Marsh
fe7f529862 update ansible provisoner docs to include hcl 2020-07-30 17:01:54 -07:00
Megan Marsh
e0af769ffb
Merge pull request #9672 from hashicorp/docker_builder_examples
Docker builder examples
2020-07-30 15:31:54 -07:00
Megan Marsh
37f21dde5c add build sources to hcl examples 2020-07-30 15:07:15 -07:00
Megan Marsh
6248da58c5 Update website/pages/docs/builders/docker.mdx
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-07-30 15:05:46 -07:00
Megan Marsh
6927a9b10d add hcl2 examples for docker builder docs 2020-07-30 15:05:46 -07:00
packer-ci
6940cc6d38 Putting source back into Dev Mode 2020-07-30 20:51:22 +00:00
Wilken Rivera
980f02ce5d Add mapstructure tag for UserAgent field
Closes: #9676
2020-07-30 16:08:24 -04:00
packer-ci
4c32875c3f
Cut version 1.6.1 v1.6.1 2020-07-30 20:04:34 +00:00
packer-ci
214bef3697 cut version 1.6.1 2020-07-30 20:04:33 +00:00
packer-ci
3acf99a9cb update changelog 2020-07-30 20:04:33 +00:00
Megan Marsh
f1a14cf306
Merge pull request #9675 from hashicorp/fix_shell-local_provisioner
fix cty bool passing for provisioners, too
2020-07-30 12:17:06 -07:00
Megan Marsh
2bd2954412 fix cty bool passing for provisioners, too 2020-07-30 11:25:44 -07:00
Megan Marsh
40b1adc97a add docker import hcl fix 2020-07-30 11:11:03 -07:00
Megan Marsh
aaac193880
Merge pull request #9670 from hashicorp/fix_docker-import
fix docker-import postprocessor.
2020-07-30 11:09:09 -07:00
Megan Marsh
aa9d06d738 mention url encoding as potential backwards incompatability 2020-07-30 11:08:26 -07:00
Wilken Rivera
a911f9f667 update CHANGELOG
* Consolidate backward incompatibilities sections
2020-07-30 13:58:18 -04:00
Wilken Rivera
617e0d234d update CHANGELOG
* Tidy up existing changelog entries
2020-07-30 13:44:15 -04:00
Megan Marsh
5b26f1b56d
add vsphere postprocessor example in json and hcl (#9669)
* add vsphere postprocessor example in json and hcl

* Update website/pages/docs/post-processors/vsphere.mdx

Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-30 10:47:42 +02:00
Megan Marsh
713e7a2683 fix docker-import postprocessor. 2020-07-29 14:59:50 -07:00
Wilken Rivera
568b3c100c update CHANGELOG 2020-07-29 16:47:33 -04:00
Li Kexian
94a32dc282
tencentcloud cvm use CLOUD_PREMIUM disk by default (#9663) 2020-07-29 15:10:00 +02:00