Commit Graph

6677 Commits

Author SHA1 Message Date
Arthur Burkart 337856811e Implements OVA downloads w/local checksum support
Presumably, it is convention to store a manifest file with checksums
inside the OVA, so remote checksum support was not implemented.
2016-11-28 15:01:37 -05:00
Matthew Hooker 541a209f93
clarify docs for TRIM 2016-11-28 11:30:36 -08:00
Billie Cleek f5ca0de225 provisioner/ansible: assume scp target is file
Assume the scp target is a file instead of a directory. Assuming the scp
target is a file instead of a directory allows uploading files to a node
being provisioned with the ssh communciator using sftp and with the
winrm communicator. It is fully compatible with ansible; ansible
communicators only allow for files (never directories) to be uploaded
(when the copy module is used to upload a directory, ansible walks the
directory and uploads files one at a time).

Update documentation to explain how to provision a Windows image.

Extend tests that use ssh to communicate with the node to include single
files, recursive copies, and content-only recursive copies.

Add test to verify support for the winrm communicator.

Remove the err argument from adapter.scpExec, because it was unused.

Fixes #3911
2016-11-26 14:40:39 -08:00
Rickard von Essen 16d38ed965 Updated CHANGELOG.md 2016-11-26 18:43:11 +01:00
Rickard von Essen e36b98ecd5 Merge pull request #4202 from nervo/docker-commit-changes
Introduce docker commit changes
2016-11-26 18:40:08 +01:00
Rickard von Essen cb78cb331d
Documented author, changes, and message 2016-11-26 18:34:49 +01:00
Rickard von Essen a09f20f996 Merge pull request #4015 from artburkart:closes_3908
Closes #3908: Adds snapshot tag overrides
2016-11-26 17:54:00 +01:00
Arthur Burkart 0c7e73b1cf
Implements Snapshot tagging
While implementing my acceptance test, I stumbled upon a comment stating
that snapshot deletion should also be implemented, so I snuck that in. I
can't help but wonder if there is some generic logic that is implemented
a few times throughout the packer code base that could maybe better serve
us if it were abstracted to the common package.
2016-11-26 17:48:26 +01:00
Rickard von Essen f17e5cda35 Updated CHANGELOG.md 2016-11-26 17:28:06 +01:00
Rickard von Essen 6947a74151 Merge pull request #4162 from classmarkets/google-source-image-family
builder/googlecompute: support source image family
2016-11-26 17:26:47 +01:00
Rickard von Essen d18da5e679
Added printout of select source_image 2016-11-26 15:06:43 +01:00
Rickard von Essen 17eda06d61
Fixed formatting 2016-11-24 21:12:20 +01:00
Rickard von Essen 66f08e6251 Updated CHANGELOG.md 2016-11-24 18:10:24 +01:00
Rickard von Essen 2d193df7f6 Merge pull request #4204 from rickard-von-essen/aws_spot_instance_if_non_vpc
Fix 'The AssociatePublicIpAddress parameter is only supported for VPC launches.'
2016-11-24 18:08:21 +01:00
ephemeralsnow e53f4be005 Fix 'The AssociatePublicIpAddress parameter is only supported for VPC launches.' 2016-11-24 17:01:32 +01:00
Florian Rey 73c5eac4f0 Handle commit author & message the same way 2016-11-24 13:33:42 +01:00
Florian Rey 06bebb63d0 Add log 2016-11-24 13:07:01 +01:00
Florian Rey c925acf502 Introduce docker commit changes 2016-11-24 11:42:34 +01:00
Matthew Hooker 80aa6f3445
update changelog 2016-11-22 16:47:39 -08:00
Matthew Hooker f354882282 Merge pull request #4197 from mitchellh/retryondc
provisioner/shell: treat disconnects as retryable.
2016-11-22 16:42:53 -08:00
Matthew Hooker 12176b6afc
provisioner/shell: treat disconnects as retryable. 2016-11-22 15:59:40 -08:00
Matthew Hooker 50b7b92b6c
update changelog 2016-11-22 12:52:37 -08:00
Matthew Hooker a6e6b0dfd7 Merge pull request #4192 from mitchellh/manifestoutput
post-processor/manifest: fixes interpolation of output
2016-11-22 12:51:27 -08:00
Matthew Hooker e44e27a652
update changelog 2016-11-21 16:46:37 -08:00
Matthew Hooker 622813053e Merge pull request #4144 from mitchellh/filenamespaces
quote file names so account for spaces
2016-11-21 16:45:52 -08:00
Matthew Hooker a05817ee26
fix docs, remove escaping 2016-11-21 16:36:10 -08:00
Matthew Hooker 58c5f8262a
Fix nested pp case 2016-11-21 15:56:20 -08:00
Matthew Hooker 70ca8486ba
update docs 2016-11-21 15:35:57 -08:00
Matthew Hooker e3acd19cb7
add fixer for manifest filename->output 2016-11-21 15:34:50 -08:00
jasminSPC a239407093 Typo fix 2016-11-21 23:02:53 +01:00
Rickard von Essen 68822cd060 Updated CHANGELOG.md 2016-11-21 20:59:58 +01:00
Rickard von Essen b8c09fd2a1 Merge pull request #3890 from yoctocloud/floppy
unbreak glob pattern in floppy_files
2016-11-21 20:56:38 +01:00
Rickard von Essen d3b39ae28f
Unified the docs for floppy_files 2016-11-21 20:50:26 +01:00
Vasiliy Tolstov 7f391a94aa unbreak glob pattern in floppy_files
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-11-21 16:29:14 +03:00
Vasiliy Tolstov b29d0b4378 post-processor/manifest: fixes interpolation of output
* rename `filename` to `output` for consistent with other post-processors
* interpolate output with variables

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-11-21 11:04:16 +03:00
Rickard von Essen 902ac5ab2e Updated CHANGELOG.md 2016-11-17 22:43:23 +01:00
Rickard von Essen 30c05a6a0e Updated CHANGELOG.md 2016-11-17 22:43:05 +01:00
Rickard von Essen 8257c2dabd Merge pull request #4172 from rickard-von-essen/default-ssh-user
ssh: Remove ssh_username default values
2016-11-17 22:40:09 +01:00
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username 2016-11-17 22:30:34 +01:00
jasminSPC 68ca7490bb Removed default value for ssh_username 2016-11-17 21:15:28 +01:00
Chris Bednarski 79f748ef73 Merge pull request #4156 from friism/patch-1
fix markdown
2016-11-16 17:23:17 -08:00
Matthew Hooker 7443e21992
fix broken link in docs 2016-11-16 12:39:23 -08:00
Sander van Harmelen 85de48bcef Update CHANGELOG.md 2016-11-16 10:40:24 +01:00
Sander van Harmelen 285ff6940e Revert some changes made in #4149 (#4175)
After some more research and testing it turns out we can support the use case where you want to reuse an associated IP address that already has port 22 or 5985 forwarded, by using a random public port.

The correct port to open in the firewall is different for the type of firewall used. The standard firewall requires the public port to be opened and the network ACL requires the private port to be opened.

So by partially reverting this code and updating which ports to open in which cases, we can support all use cases again.
2016-11-16 10:30:32 +01:00
Arthur Burkart 2e65867cba Closes #3908: Adds snapshot tag overrides
This commit adds the ability to configure unique tags on snapshots
that are separate from the tags defined on the AMI. Anything applied
to the AMI will also be applied to the snapshots, but `snapshot_tags`
will override and append tags to the tags already applied to the snapshots
2016-11-15 23:16:27 -05:00
jasminSPC 5649940fab Removed unecessary print messages 2016-11-16 00:20:22 +01:00
jasminSPC 484960c9d1 Fixes #4169 2016-11-16 00:17:30 +01:00
Matthew Hooker 929ca30141
prep changelog for next version 2016-11-15 15:06:32 -08:00
Matthew Hooker 7f5432609f
fix website build 2016-11-15 15:03:58 -08:00
Matthew Hooker f0efd9f994
0.12.1 will be next version 2016-11-15 14:16:06 -08:00