15804 Commits

Author SHA1 Message Date
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
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
Megan Marsh
b3c3e3ed63
Merge pull request #9589 from hashicorp/fix_9184
post-processor/vsphere: Fix password encoding in vsphere post-processor ovftool call
2020-07-25 08:23:54 -07:00
Megan Marsh
bba97b8f26
Merge pull request #9644 from satyamuralidhar/patch-1
nginx server creation using packer
2020-07-24 10:23:04 -07:00
Megan Marsh
93ecc89328
Merge pull request #9646 from hashicorp/azr-feature_requests_issue_template_update
add a 'Community Note' section to .github/ISSUE_TEMPLATE/feature_requests.md
2020-07-24 10:19:07 -07:00
Adrien Delorme
8803f1f6cf Update CHANGELOG.md 2020-07-24 15:49:10 +02:00
satya
ac45bc6029
Update packages.sh 2020-07-24 17:10:11 +05:30
Adrien Delorme
d31192a7fc
Update feature_requests.md
add a 'Community Note' section
2020-07-24 13:34:15 +02:00
Adrien Delorme
591cbd9290
Update examples/amazon/nginx_server/nginx.json 2020-07-24 13:16:23 +02:00
satya
d029d95ba2
Update packages.sh (#9643)
check apache version before end
2020-07-24 13:15:33 +02:00
Adrien Delorme
44616d3bff
refactor initialization out from packer configs + tests (#9627)
The initialization of packer core in JSON also validates that `null` variables were set, except in the case of `packer validate --syntax-only` , but after the refactor to allow to have all commands work with HCL2 and JSON this subtlety was lost.

This refactors the initialisation of the core in order to allow to have `packer validate --syntax-only` not error in case a variable is not set. Since these calls are refactored this works for HCL2 too.

fix #9478
2020-07-24 10:58:03 +02:00
satyamuralidhar
4816b55967 nginx server 2020-07-24 10:27:03 +05:30