Commit Graph
18348 Commits
Author SHA1 Message Date
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 MarshandAdrien Delorme 1b6b44589d Change to use query syntax instead of manually throwing queries in.
Co-authored-by: Adrien Delorme <[email protected]>
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 DelormeandMegan Marsh 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 <[email protected]>
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