Commit Graph

15964 Commits

Author SHA1 Message Date
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 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
Megan Marsh 69b0e66b5d
Update post-processor/vsphere/post-processor.go
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-27 08:52:29 -07:00
Artem Zavatskiy bec367347d ansible-provisioner: fix tests related to ssh agent 2020-07-27 14:31:32 +03:00
Reto Kupferschmid 943cb1275d
fix missing comma (#9652) 2020-07-27 11:21:40 +02:00
Adrien Delorme c34e89aec7
getEncodedPassword: simplify encodedPassword return 2020-07-27 10:33:39 +02:00
Megan Marsh 54067fc091
update docs to include vpc permissions (#9648) 2020-07-27 10:18:06 +02:00
Megan Marsh 395a0c472e improve postprocessor stdout 2020-07-25 08:24:21 -07:00
Megan Marsh 6383e6cbbf fix vsphere postprocessor password log filtering, write tests 2020-07-25 08:24:21 -07:00