12461 Commits

Author SHA1 Message Date
Miłosz Smółka
e7e84f04e7 Fix timestamp interpolation in mount path
Closes #1
2019-02-01 17:46:35 +01:00
Adrien Delorme
dd3e2c255c respect a 'only' defined in a post-processor 2019-02-01 15:50:06 +01:00
Adrien Delorme
074a74ec38 make sure 'only' completely ignores post-processor
before this commit, if one would put a 'only' inside the post-processor definition, the post process could be skipped
2019-02-01 15:21:41 +01:00
Adrien Delorme
55bfee509a
Merge pull request #7260 from Murcurio/patch-1
Change GCP metadata url to FQDN
2019-02-01 14:44:33 +01:00
Davi Vidal
2bc4e6aec6 Fixes checksum for dependencies for Go 1.11.4+ 2019-02-01 12:38:28 +01:00
Olivier Ceyral
4d10d668ee Add "custom_data" key to packer manifest 2019-02-01 10:41:34 +01:00
Murcurio
60c7d22ffb
Change metadata url to FQDN
If instance has a different DNS/search domain then "metadata" alone won't work. The FQDN of "metadata.google.internal" is included in hosts file, and will work regardless of DNS configuration. Alternatively the IP 169.254.169.254 can be used.
2019-02-01 15:36:40 +11:00
Megan Marsh
eef4fc7a01
Merge pull request #7222 from Adezandee/gce-post-processors
googlecompute-postprocessors: service account and export configs
2019-01-31 16:58:42 -08:00
Megan Marsh
6ea64bc378
Merge pull request #7191 from arizvisa/GH-7190
Adds support to the vmware builders for specifying the number of cores per socket via the `cores` option.
2019-01-31 15:27:52 -08:00
Megan Marsh
888f4d440c
Merge pull request #7251 from yaakov-h/7250-fix-overflow
Hyper-V: Fix integer overflows in 32-bit builds
2019-01-31 15:22:33 -08:00
Megan Marsh
63a3bb0105
Merge pull request #7254 from danowar2k/master
Fix for #7253
2019-01-31 11:07:09 -08:00
Daniel Poggenpohl
864ea7084d Merge branch '#7253-build-script-capitalization' 2019-01-31 15:53:53 +01:00
Daniel Poggenpohl
ce760eec09 - More comments
- encapsulated code in functions to make it more readable
- validate presence of used tools/binaries (check if they're in PATH)
- more output
- FIX: make all uname/OSTYPE output to lowercase and check only for that
- refactored method name convert_path -> convertPathOnCygwin
- gave convert_path two arguments to make it more readable (Readability over tight code? I don't know what is required)
- some variable expansion now uses braces
2019-01-31 15:50:10 +01:00
Stephen Fox
f233e54992 Initial SSH key pair helper implementation. 2019-01-30 22:10:27 -05:00
Yaakov
0a08920816 Hyper-V: Fix integer overflows in 32-bit builds 2019-01-31 13:53:01 +11:00
Adrien Delorme
20c2524881 prepare for 1.3.5-dev 2019-01-30 16:45:38 +01:00
Adrien Delorme
3626fbd0f9 Cut version 1.3.4 2019-01-30 16:33:57 +01:00
Adrien Delorme
43109ea9aa prepare to release 1.3.4 2019-01-30 16:10:18 +01:00
Miłosz Smółka
3d3e933f48 Add host key hash verify 2019-01-29 10:44:23 +01:00
Adrien Delorme
43c30d6b7f Update changelog 2019-01-28 17:32:33 +01:00
Miłosz Smółka
4a863379fa Update docs 2019-01-28 13:00:30 +01:00
Miłosz Smółka
bd4ce90728 Add chroot disk build 2019-01-28 12:33:25 +01:00
Megan Marsh
839a7658a6
Merge pull request #7226 from hashicorp/fix_6549
Explicitly set ProxyFromEnvironment in httpclients when creating an aws session
2019-01-25 13:24:25 -08:00
Megan Marsh
3602180b45 re-add missing import 2019-01-25 12:33:25 -08:00
Megan Marsh
035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions 2019-01-25 12:33:25 -08:00
Megan Marsh
c63b54a1e7 move http with proxy call into a helper function 2019-01-25 12:32:52 -08:00
Megan Marsh
904c4b9adb
Merge pull request #7230 from hashicorp/up-aws-sdk-go
Don't try to guess region from metadata if not set + update aws-sdk-go
2019-01-25 10:06:11 -08:00
Adrien Delorme
4a2773f8fa remove default max retries config of 8, it will now be used from env
removing the code that wants to guess region from metadata allows us to change that setting, which can now be taken from environment.
2019-01-25 13:51:02 +01:00
Adrien Delorme
964b149df2 aws: remove now unused AccessConfig.metadataRegion 2019-01-25 13:03:14 +01:00
Adrien Delorme
335f442b51 aws: unwrap AccessConfig.region func
* it was used only in the Session() call.
* default region guessing from metadata should happen in the SDK, not 'manually'
2019-01-25 13:02:42 +01:00
Adrien Delorme
54af9951a8 make guard clauses to clearly see success pass 2019-01-25 13:00:21 +01:00
Adrien Delorme
0864b4d07b name unclear import 2019-01-25 12:59:43 +01:00
Miłosz Smółka
aaee600be0 Update docs 2019-01-25 11:39:30 +01:00
Arnaud Dezandee
8975f67901
googlecompute-export: add exporter instance configs 2019-01-25 11:36:18 +01:00
Arnaud Dezandee
91d2cb8c83
googlecompute-import: add service accounts 2019-01-25 11:36:18 +01:00
Miłosz Smółka
c1892b60af Add basic hyperone example 2019-01-25 11:15:36 +01:00
Ali Rizvi-Santiago
3f559f8782 Updated the documentation with the vmx option that it uses. 2019-01-25 02:40:34 -06:00
Megan Marsh
a0c238940e
Merge pull request #7223 from hashicorp/fix_7200
escape query as suggested in issue #7200
2019-01-24 09:48:38 -08:00
Adrien Delorme
2b63569ce9 Merge remote-tracking branch 'origin/master' into up-aws-sdk-go 2019-01-24 17:32:13 +01:00
Adrien Delorme
dafb513d50 Revert "aws: set max retries back to 20"
This reverts commit 4f1ed08f195b63aa433fb1043ddeaeb2f96d52c0.
2019-01-24 16:45:56 +01:00
Adrien Delorme
6e115cb0c4 Revert "aws: test timeout when no credenrtials are set"
This reverts commit 5cfc1a52cd316b14694b26548af08bd9728c94ec.
2019-01-24 16:45:02 +01:00
Adrien Delorme
76ca0ca4a0 Revert "debug should retry"
This reverts commit c943ff00a20478b9ff01e257c72360928ebcbcbb.
2019-01-24 16:44:53 +01:00
Adrien Delorme
09ceef758b Revert "enable verbose mode to see debug"
This reverts commit 1148bec5906a6c3fe104876447c15cc105a89d08.
2019-01-24 16:44:51 +01:00
Adrien Delorme
1148bec590 enable verbose mode to see debug
* I will remove this commit. This is very handy as appveyor/circle/travis have different ouputs
2019-01-24 14:09:45 +01:00
Adrien Delorme
c943ff00a2 debug should retry 2019-01-24 14:02:10 +01:00
Adrien Delorme
297abc3e84 appveyor.yml: timeout tests after 2m 2019-01-24 14:01:23 +01:00
Adrien Delorme
9099bf8a4a GO111MODULE=on go get github.com/aws/aws-sdk-go@v1.16.24 2019-01-24 13:07:34 +01:00
Megan Marsh
e4dca0016c
Merge pull request #7156 from vtolstov/qemu
qemu: Add configuration options to specify cpu count and memory size
2019-01-23 15:19:08 -08:00
Megan Marsh
d0e5c67dc3
Merge pull request #7205 from hashicorp/fix_7196
fix region stuff
2019-01-23 15:15:27 -08:00
Megan Marsh
270f851e72
Merge pull request #7183 from hashicorp/skip_post_processor
allow to use `-except` on post-processors
2019-01-23 15:10:09 -08:00