Commit Graph

15771 Commits

Author SHA1 Message Date
Sylvia Moss dcacf7ad4c
Add vSphere HCL examples to the docs (#9674) 2020-08-05 19:23:52 +02: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
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 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
sylviamoss c6e9bde97b add step customize and docs 2020-07-29 15:07:44 +02:00
jhawk28 3370c91cf2
add some additional messaging when a boot command fails to type (#9661) 2020-07-29 15:06:45 +02:00
Megan Marsh 883339be25
Set project via project flag, not setting in the config (#9662)
* set project via project flag, not setting in the config + tests
2020-07-29 10:50:11 +02:00
Megan Marsh b695615d7d
fix local file stating (#9660) 2020-07-29 10:26:09 +02:00
Megan Marsh b40490c3c1
Merge pull request #9610 from chilversc/winrm-via-iap-tunnel
Support using WinRM over an IAP tunnel
2020-07-28 14:27:43 -07:00
Megan Marsh 3b297f4937
Merge pull request #9649 from hashicorp/clean_up_vsphere_ui
Clean up vsphere ui
2020-07-28 10:45:47 -07:00
Adrien Delorme c7b35dd6bc
HCL2: add post-processors block to run multiple post-processor after a build (#9638)
added `post-processors` block to run chained post-processors after a build.
Before this, defining multiple `post-processor` blocks after
provisioning steps would run them sequentially, now doing this makes them start
from the build's artifact. To queue post-processors you now have to define them
in a `post-processors` block.

This is a breaking change.
2020-07-28 10:02:37 +02:00
Megan Marsh 882fcd9367
Merge pull request #9639 from nextus/provision-sshagent-fix
fix agent auth in ssh communicator for ansible provisioner (#9488)
2020-07-27 18:50:56 -07:00
Megan Marsh 02d3fb37e3 fix return 2020-07-27 08:53:33 -07:00