Commit Graph

10951 Commits

Author SHA1 Message Date
Olivier Ceyral ee08365b02 Fix error message 2018-08-28 11:04:33 -07:00
Olivier Ceyral 83fce837d8 Add documentation 2018-08-28 11:04:33 -07:00
Olivier Ceyral a906d1d630 Add consul template function 2018-08-28 11:04:33 -07:00
Megan Marsh e4f6b6f720 fix chroot communicator to properly escape quotes 2018-08-28 09:16:43 -07:00
Megan Marsh 8309f36176
Merge pull request #6626 from hashicorp/fix_6620
make reasonable tempfile default on windows
2018-08-27 09:43:04 -07:00
Matthew Hooker 62014840b4
remove sync from makefile since we commit vendor directory. 2018-08-24 20:52:47 -07:00
Matthew Hooker 7519037562
Merge pull request #6629 from hashicorp/travisbuild
travis builds go 1.11. remove 1.9
2018-08-24 20:51:31 -07:00
Matthew Hooker 8a604114ef
remove unused code 2018-08-24 20:43:51 -07:00
Matthew Hooker 3f1a9766f4
formatting verb fixes for go 1.11 2018-08-24 16:18:21 -07:00
Matthew Hooker 132876b3ac
remove 1.10.x from travis matrix
go changed formatting behavior between .10 and .11 One option is to
download a specific version of gofmt but rather than do that we are
removing .10 tests.

Packer only supports the latest version of go, so it's unnecessary to
test on prior version. Previously we tested on .9 and .10 because go
changed the way tar encoding worked. We wanted to support .9 so users
would have a b/c option if needed. As we move forward that's become
unnecessary.
2018-08-24 16:11:54 -07:00
Matthew Hooker e41e99954d
go 1.11 format rules 2018-08-24 15:56:44 -07:00
Megan Marsh d6b893fb06 add missing vendor file 2018-08-24 15:55:33 -07:00
Megan Marsh c5b346b07b
Merge pull request #6393 from DanHam/fix-hyperv-export
Various improvements to Hyper-V ISO and VMCX builders
2018-08-24 15:52:49 -07:00
Matthew Hooker 2d0efacbc3
travis builds go 1.11. remove 1.9 2018-08-24 15:52:43 -07:00
Megan Marsh bf191d1ef6
Merge pull request #6204 from arizvisa/GH-6197
Specify "bios.hddOrder" during the CreateVMX step for the vmware-iso builder.
2018-08-24 15:46:31 -07:00
Megan Marsh fa6c316e55
Merge pull request #6628 from hashicorp/follow_on_6357
add a few more tests to split function
2018-08-24 15:34:16 -07:00
Megan Marsh 6356078d19 add a few more tests to split function 2018-08-24 15:27:14 -07:00
Megan Marsh 8fbce8c40c
Merge pull request #6357 from ladar/master
Added a 'split' function to parse template variables.
2018-08-24 15:18:36 -07:00
Megan Marsh a93b9ce45c
Merge pull request #6627 from hashicorp/follow_uop_to_6534
remove unused argument
2018-08-24 14:24:34 -07:00
Megan Marsh f4a360bea9 remove unused argument 2018-08-24 14:19:01 -07:00
Megan Marsh 10c4aca521
Merge pull request #6534 from ChrisLundquist/clundquist/xz
add support for xz compression #6523
2018-08-24 14:15:55 -07:00
Megan Marsh d356817890
Merge pull request #6579 from hashicorp/reinterpolate_winrm_step
use statebag instead of SetSharedState for winRM password
2018-08-24 14:02:13 -07:00
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password 2018-08-24 13:51:16 -07:00
Rickard von Essen 414e10d43d Added docs for subnet_filter, vpc_filter, and security_group_filter 2018-08-24 20:25:06 +02:00
Rickard von Essen 23f62f221e Only filter SG's on VPC if it's set. Only use VPC's and Subnets that are available 2018-08-24 20:24:48 +02:00
Megan Marsh f5355a0693 make reasonable tempfile default on windows 2018-08-24 09:44:50 -07:00
Megan Marsh fa99f931b7
Merge pull request #6601 from hashicorp/fix_6536
Increase waiter timeout for AWS WaitUntilImageAvailable command
2018-08-24 09:35:58 -07:00
Adrien Delorme 6bbcd3e914
Remove remaining unused ssh config funcs and add missing calls (#6622)
* Remove duplicate unused SSHConfig funcs

* call to SSHConfigFunc() for azure/arm builder

* ncloud too

* remove empty ncloud file
2018-08-24 16:00:40 +02:00
Rickard von Essen 533967cb66 builder/amazon: Add suppport for security_group_filter
Allow selecting SG's using a filter. Also some cleanup of vpc_filter and
subnet_filter.
2018-08-24 12:42:38 +02:00
Megan Marsh cfba6c9117
Merge pull request #6619 from hashicorp/windows-restart-tweak
go back to using StartWithUI to prevent weird hangs during windows re…
2018-08-23 16:34:21 -07:00
Megan Marsh c51cd751d1 go back to using StartWithUI to prevent weird hangs during windows reboot 2018-08-23 16:15:50 -07:00
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
Merge ssh config funcs from builders
2018-08-23 16:03:36 -07:00
Megan Marsh d883dfe67a
Merge pull request #6566 from hashicorp/atlas-deprecation
Complete Atlas deprecation.
2018-08-23 14:35:33 -07:00
Megan Marsh 5542b2b34a update changelog 2018-08-23 14:21:40 -07:00
Megan Marsh 1f79b430ee
Merge pull request #6610 from hashicorp/filter_logs
Filter logs
2018-08-23 13:30:21 -07:00
Megan Marsh 7f518cc2d0
Merge pull request #6616 from hashicorp/fix_6496
added new template variables to replace PACKER_KEY_INTERVAL with tuna…
2018-08-23 13:21:31 -07:00
Megan Marsh 31d4f8af45 use a time.Duration instead of a hardcoded ms 2018-08-23 13:16:01 -07:00
Christopher Boumenot 1801b6dac0
Merge pull request #6618 from hashicorp/azure_docs_tweaks
Azure Docs: enhance the copy pasta potential
2018-08-23 08:21:02 -07:00
Adrien Delorme a0a0594a35 add missing comma 2018-08-23 15:48:14 +02:00
Adrien Delorme 8560fe89e5 Azure Docs: enhanced the copy pasta power
* so that it's easier to just copy & paste commands to get going
2018-08-23 13:08:41 +02:00
Rickard von Essen 9840862757 builder/amazon: Add suppport for vpc_filter and subnet_filter
First step of adding support for discovering VPC's and Subnets using
filters.
2018-08-23 12:52:03 +02:00
Rickard von Essen fdd2a2ac9f
Updated CHANGELOG.md 2018-08-23 12:43:08 +02:00
Rickard von Essen 70cfafb75c
Merge pull request #6490 from tcarrio/most-recent-image-openstack
OpenStack source image search filter
2018-08-23 12:41:06 +02:00
Tom Carrio e2fe5cd775 Updated test cases to cover bad filters and empty() 2018-08-22 18:23:12 -04:00
Megan Marsh bb319fb1e8
Merge pull request #6607 from hashicorp/gcp_min_cpu_platform
GCP: min cpu platform
2018-08-22 12:58:34 -07:00
Megan Marsh 918db58604 added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used 2018-08-22 11:37:56 -07:00
Adrien Delorme e5ffa9e5b3 use SSHConfigFunc on right member in builder/parallels/pvm/builder.go 2018-08-22 18:23:23 +02:00
Adrien Delorme fa44a4546f use ssh.ParsePrivateKey where we can 2018-08-22 18:23:09 +02:00
Adrien Delorme bacfb02182 doc better SSHConfigFunc 2018-08-22 18:16:25 +02:00
Adrien Delorme ab7f998862 SSHConfigFunc: use struct fields instead of copying them locally 2018-08-22 17:08:46 +02:00