Commit Graph

15964 Commits

Author SHA1 Message Date
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
Megan Marsh 74aef3c819 apply same url encoding to other places we call ovftool 2020-07-23 17:03:42 -07:00
Megan Marsh 1b6b44589d Change to use query syntax instead of manually throwing queries in.
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-23 14:36:41 -07:00
Megan Marsh 393b2d16c4 switch to using net/url.URL struct for encoding rather than the incorrect QueryEscape for the whole URL. 2020-07-23 14:33:09 -07:00
Megan Marsh 2e4d0c888a pull ovftool uri generation into separate function, test function 2020-07-23 14:33:09 -07:00
Megan Marsh 242e8534d5
Merge pull request #9609 from satyamuralidhar/patch-1
Here iam written a packer sample script for apache server
2020-07-23 11:39:15 -07:00
Megan Marsh b88dede234 moved example files 2020-07-23 11:28:55 -07:00
Artem Zavatskiy c0048daed5 fix agent auth in ssh communicator for ansible provisioner (#9488) 2020-07-23 16:03:01 +03:00
Megan Marsh b55396e677
communicator/ssh: Add new option to supply custom key exchange algorithms in SSH client (#9634)
* add kex algorithm option to ssh config

* regenerate code
2020-07-23 09:41:31 +02:00
Megan Marsh a687d6fe12
ci/tech-debt: Fix vmware acceptance tests (#9636)
* add kex algorithm option to ssh config

* regenerate code

* This commit fixes old vmware acceptance tests that have not been run in some time. It does this in two parts:
1) It modifies the minimal vmware build configuration to use a custom kex algorithm, which enables the ssh connection to succeed.
2) It modifies logic in reading and defaulting hardware config values, which was crashing.
3) It adds a new acceptance test with a preseed file to test loading from an http directory.
2020-07-23 09:40:57 +02:00
Megan Marsh 0a66f19dbe
fix minimal json example to use new checksumming (#9633) 2020-07-23 09:39:57 +02:00
Adrien Delorme 125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622)
* core: Decode when in HCL2 decoding mode; reset the whole struct before preparing it.
* HCL2: add path variables + docs & tests

Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-07-23 09:25:07 +02:00
satyamuralidhar d5bfe0b869 new chage 2020-07-23 11:23:16 +05:30
satya 47bc5069ab
Delete apache_server 2020-07-23 11:14:55 +05:30
satya 740773d321
Create apache_server 2020-07-23 11:11:55 +05:30
Megan Marsh 1f6473b4c1
Merge pull request #9614 from GennadySpb/yndx-import-create-new-from-another-one
yandex-import: allow create image based on another one
2020-07-22 15:50:51 -07:00
Megan Marsh 5bbef6e0f9
Merge pull request #9630 from szepeviktor/patch-1
Add CircleCI badge to README
2020-07-22 15:39:09 -07:00
Viktor Szépe 273d59ce9f
Add CircleCI badge
and remove Travis
2020-07-22 19:56:55 +02:00
Megan Marsh ec5a2b87af
Merge pull request #9619 from piggona/master
builder/tencent: add key source_image_name to get source image by name when creating image.#9548
2020-07-22 10:29:30 -07:00
Chris Chilvers 67494ff45b update IAP docs to include WinRM 2020-07-22 17:34:45 +01:00
Megan Marsh f9df185ef1
Merge pull request #9579 from hashicorp/fix_9562
wrap CreateImage call in a retry to account for eventual consistencey…
2020-07-22 08:43:10 -07:00
Chris Chilvers 63eedf841e Fix failing tests due to IAP communicator host name
Moved setting the host from ApplyIAPTunnel to Config.Prepare but forgot to
update the related tests.
2020-07-22 12:58:05 +01:00
Gennady Lipenkov 46a5561340 go import file 2020-07-22 11:39:28 +03:00
Megan Marsh 21287fee58
Merge pull request #9570 from hashicorp/azr-more-examples
HCL2: More examples for vsphere & vmware ( esxi )
2020-07-21 16:36:51 -07:00
Megan Marsh 6e7618ca1a
Merge pull request #9608 from hashicorp/amazon-inline-docs-hcl
add tabs to generated docs from access_config and run_config structs
2020-07-21 16:34:49 -07:00
Megan Marsh 1f3b3f8fd9 change retry func to a 15 min timeout 2020-07-21 15:55:39 -07:00
Megan Marsh a56942d3c7 change isAwsErr to an exported func so I can use it in other aws modules. 2020-07-21 15:30:45 -07:00
Megan Marsh 036ea238bf wrap CreateImage call in a retry to account for eventual consistencey issues with image state 2020-07-21 15:30:45 -07:00
Gennady Lipenkov 53e7f4e71a extend artifact, code refactoring 2020-07-22 01:01:30 +03:00
Megan Marsh 7d1b6969b0 update changelog 2020-07-21 13:15:38 -07:00
Megan Marsh eb27023e4c
add HCL and artifice examples to vagrant postprocessor docs (#9606) 2020-07-21 11:30:11 +02:00
Megan Marsh 91775b8875
update docstring (#9617) 2020-07-21 11:28:01 +02:00
piggona 22b49c1a92 delete cvm-filter configuration 2020-07-21 11:04:41 +08:00
piggona ecfce6ef4c delete cvm-filter configuration 2020-07-21 11:04:32 +08:00
piggona 38563df35c builder/tencent: add key source_image_name to get source image by name when creating image.#9548 2020-07-21 11:04:11 +08:00
piggona 485b2b3bd5 run make generate 2020-07-21 11:03:50 +08:00
piggona a1b6f809c7 add:argument key SourceImageName to get source image by name. 2020-07-21 11:02:30 +08:00
Megan Marsh 6077a9174a
Merge pull request #9607 from hashicorp/amazon_hcl_docs
Amazon hcl docs
2020-07-20 18:11:51 -07:00
Megan Marsh 3897865f3f
Update website/pages/docs/builders/amazon/ebs.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 18:02:31 -07:00
Megan Marsh 6bb23eeb0e
Update website/pages/docs/builders/amazon/index.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:59:22 -07:00
Megan Marsh f389f1eebc
Update website/pages/docs/builders/amazon/chroot.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:58:05 -07:00