14633 Commits

Author SHA1 Message Date
Matthew Hooker
a5197840df
add config key reporting 2017-11-14 16:30:44 -08:00
Matthew Hooker
3e3768ec3e
fix tests 2017-11-14 16:30:43 -08:00
Matthew Hooker
46f41d1f12
WIP: add options to telemetry 2017-11-14 16:30:43 -08:00
SwampDragons
e19381320c
Merge pull request #5583 from ladar/patch-1
Docker Example Typo
2017-11-14 15:02:56 -08:00
Ladar Levison
4a5bb756a7
Docker Example Typo
I think the intention was to show you can tag, and push the same image to multiple repos, but the example given is to the same repo, twice. This change updates the example so it uses hashicorp/packer1, and hashicorp/packer2.
2017-11-14 16:40:06 -06:00
Andrei Tonkikh
d1b2b76843 Add more acceptance tests for VM. Merge them into 1 table-driven test 2017-11-15 00:47:33 +03:00
Brett Richardson
9eacd3d618
Update chef provisioner documentation
The URL has changed, see chef documentation https://docs.chef.io/install_omnibus.html
2017-11-14 13:54:13 +00:00
Matthew Hooker
baca3e5a1c
Merge pull request #5573 from hashicorp/do_5572
clearly state that url is wrong at validation stage of build
2017-11-13 13:19:29 -08:00
Andrei Tonkikh
991e1f8fdb Revert f05b1e1. That commit introcude a regression from #30 2017-11-14 00:08:40 +03:00
Andrei Tonkikh
6e3e92e356 Remove driver test utility. Move driver tests to the driver folder 2017-11-14 00:02:46 +03:00
Megan Marsh
6756df9510 use url library instead of parsing string naiively 2017-11-13 12:57:53 -08:00
Megan Marsh
771349e58c fix error message 2017-11-13 12:52:47 -08:00
Megan Marsh
764be03876 didn't mean for this error message to get changed 2017-11-13 12:42:57 -08:00
Megan Marsh
0d18de2942 do validation in vmx config stage 2017-11-13 12:42:57 -08:00
Megan Marsh
0efcb1bba2 dont error in the downloadableURL function; save validation for preflight steps 2017-11-13 12:42:57 -08:00
Megan Marsh
3a9dfb5b18 better 2017-11-13 12:42:57 -08:00
Megan Marsh
e45a006d61 clearly state that url is wrong at validation stage of build 2017-11-13 12:42:57 -08:00
Andrey Tonkikh
7794c149a1 Inline test config 2017-11-13 23:01:41 +03:00
Megan Marsh
487ceac784 fix Vet error. 2017-11-13 11:45:31 -08:00
Pavel Boldin
853b04420c iso_config: allow for subdirs in hash sum files
Allow hash sum files and ISOs to be in different directories as
Ubuntu does.

Signed-off-by: Pavel Boldin <boldin.pavel@gmail.com>
2017-11-13 09:28:43 +02:00
Rickard von Essen
ec6d6098de
Update CHANGELOG.md 2017-11-12 10:48:04 +01:00
Rickard von Essen
ed273878db
Merge pull request #5576 from dan9186/support-gce-cos-image
Allow Selecting Container Optimized Images
2017-11-12 10:44:43 +01:00
Daniel Hess
f0299ba713 Adding GCE container optimized os image project 2017-11-12 00:45:22 -08:00
bugbuilder
f7b45312f1 Removing skip attribute 2017-11-10 23:58:24 -03:00
bugbuilder
be2afccb85 Revamped the process to verify remote cache. 2017-11-10 23:55:26 -03:00
bugbuilder
463d87adcd Merge branch 'master' of https://github.com/hashicorp/packer into esxi-remote-cache 2017-11-10 23:08:09 -03:00
bugbuilder
b754b71519 return vsphere artifact to can build template 2017-11-10 22:57:39 -03:00
Megan Marsh
79fcd40bfc update changelog 2017-11-10 11:11:27 -08:00
bugbuilder
da54bf8e73 using only remoteFolder as parameter 2017-11-10 14:03:15 -03:00
SwampDragons
ce1f2457fd
Merge pull request #5563 from hashicorp/fix_5483
make restart command work correctly even if user has their own check …
2017-11-09 16:16:47 -08:00
Arjen Schwarz
f43f3155d4
Remove breaking debug statement 2017-11-10 11:04:31 +11:00
Megan Marsh
c3cb7fe9f9 read from stderr so it doesnt lock up 2017-11-09 15:52:49 -08:00
Megan Marsh
9b1ae530c3 have separate stdout and stderr buffers 2017-11-09 15:35:28 -08:00
Matthew Hooker
f146e5903f
Merge pull request #5567 from bennu/vm-template-with-export-vm
enable vsphere-template post processor to work with export behavior
2017-11-09 15:24:41 -08:00
Matthew Hooker
e073d63f30
remove racy reuse of single buffer for remotecmd stderr/out. 2017-11-09 15:22:47 -08:00
Megan Marsh
6019e41544 dont read stderr 2017-11-09 15:18:43 -08:00
Megan Marsh
73b6247fd2 remove unnecessary boolean operator 2017-11-09 15:04:25 -08:00
Megan Marsh
e56a6dc9a0 add some comments 2017-11-09 14:55:12 -08:00
Megan Marsh
a739623d9b don't pipe restarted stuff through the ui 2017-11-09 14:44:26 -08:00
SwampDragons
e5c59468df
Merge pull request #5343 from evandbrown/pr-googlecompute-subnetworks
Interpolate network and subnetwork values
2017-11-09 12:10:41 -08:00
Megan Marsh
d71bc34dfc don't need this in a loop 2017-11-09 11:49:12 -08:00
Megan Marsh
7e0b37dc9a update changelog 2017-11-09 10:28:32 -08:00
SwampDragons
aae324e4e7
Merge pull request #5562 from hashicorp/fix5558
don't set region from metadata if profile is set.
2017-11-09 10:22:15 -08:00
Arjen Schwarz
0e706320ad
Issue #5045 - Add build_resource_group_name
* Created a new parameter for using existing resource groups
* Implemented logic to ensure temp_ and build_ can't both be used
* Implemented logic to ensure they can only be used in correct context
* Implemented tests for this logic
* Updated where required to ensure the process works
2017-11-09 22:20:09 +11:00
Arjen Schwarz
0377140c39
Azure docs: Add documentation concerning build_resource_group_name
Part of #5045
2017-11-09 22:07:43 +11:00
bugbuilder
23f4d187e2 validating keep_registered and fixing skip_export issues 2017-11-08 15:57:34 -03:00
James Nugent
74e2cc53f2 Update CHANGELOG.md 2017-11-08 08:46:51 -06:00
James Nugent
61f8cbbd1b
Merge pull request #5566 from stack72/triton-wait-for-image-creation
builder/triton: Wait for ImageCreation State
2017-11-08 08:44:59 -06:00
stack72
450a233303 builder/triton: Wait for ImageCreation State
A bug was reported to Joyent, that sometimes packer UI reports that an image was created but it wasn't actually available in Triton for use. We believe that there was a bug uploading that image to Manta but that the metadata of the image was already populated and thus packer was reporting success as it was just checking for the metadata presence

This PR changes Packer to wait for the state of the image to be `active` to make sure that it has fully uploaded and is ready for use

```
==> triton: Stopping source machine (61647c3c-f2bf-4e30-b4bc-f076d3b01522)...
==> triton: Waiting for source machine to stop (61647c3c-f2bf-4e30-b4bc-f076d3b01522)...
==> triton: Creating image from source machine...
==> triton: Waiting for image to become available...
==> triton: Deleting source machine...
==> triton: Waiting for source machine to be deleted...
Build 'triton' finished.

==> Builds finished. The artifacts of successful builds are:
--> triton: Image was created: c2537582-34c7-42ea-bd11-b6ed499d5831
```
2017-11-08 16:38:04 +02:00
Chris Lundquist
d00f884e71
Merge pull request #5530 from BaxterStockman/lxc-builder-cli-options
Add options to LXC builder for influencing for how containers are built and started
2017-11-07 22:32:17 -08:00