2098 Commits

Author SHA1 Message Date
Adrian Bridgett
da771c469e spot_price of "0" to mean on demand
this helps avoid duplicating packer templates just to select
spot instances or not
2015-10-06 22:13:17 +01:00
Adrian Bridgett
8349e22df9 Add ebs_optimized support 2015-10-06 21:36:21 +01:00
James Nugent
b60e1fd862 Add suggestion to AWS Instance builder error message
A common cause of the failure of the bundle volume step is missing the
ec2-bundle-vol command on the target instance. This commit adds a note
about this to the error message produced as Packer output if the
bundling step fails (it is already in the documentation).
2015-10-02 17:06:33 -04:00
Orivej Desh
46d687d5ad Make ssh_host_port_max an inclusive bound to agree with documentation 2015-09-29 03:09:38 +00:00
Rickard von Essen
9cf99289c5 Fixed GCE builder after dependency change.
See
4af91da601
2015-09-20 10:14:07 +02:00
Israel Shirk
c81a486f34 Rearranges vmware builders to put compaction before VMX finalization to avoid stomping VMX changes 2015-09-18 07:51:46 -06:00
Rickard von Essen
e4dc543cae Fixes #2743: Change log messages for step_forward_ssh
Changed the log messages and changed the m name of the
VirtualBox builder NAT rule name from packerssh to
packercomm.
2015-09-17 13:43:08 +02:00
Rickard von Essen
3f14b9d984 Merge pull request #2731 from legal90/prl-compact-disk
Parallels: Add "CompactDisk" build step
2015-09-16 14:03:31 +02:00
Rickard von Essen
b528811540 Merge pull request #2662 from rickard-von-essen/prl_pd11
Parallels Desktop 11: verify correct edition and enable headless mode
2015-09-16 13:34:05 +02:00
Vasiliy Tolstov
48f8612b72 add virtio-scsi
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-15 10:59:29 +00:00
James Nugent
632d38a1c5 Tag EBS volumes with volume_tags in EBS builder
This change allows specification of a new "volume_tags" array in the
amazon-ebs builder in order to allow tagging of volumes used on the
source instance. It is implemented as a new step which is skipped if
there are no tags specified.
2015-09-11 16:39:34 -04:00
Mikhail Zholobov
abfe706fc6 builder/parallels: Add "StepCompactDisk" 2015-09-11 11:38:20 +03:00
Mikhail Zholobov
f7b26e44fe builder/parallels: Add "CompactDisk" driver function
This function compacts the specified virtual disk image.
2015-09-11 11:37:52 +03:00
Vasiliy Tolstov
3fae902bc3 enable discards only on qemu >= 2
older qemu versions does not have discard option, so not enable it

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-08 10:40:23 +00:00
Mikhail Zholobov
4ebee7bf3f builder/parallels: Add "DiskPath" driver function
This function determines path to the first virtual disk image of the specified virtual machine.
2015-09-05 13:08:24 +03:00
Or Cohen
2a94b596ce Fix and refactor block device mapping builder
Fix NoDevice not properly configured #2398.
Refactor the mapping builder to match BlockDeviceMapping from AWS SDK:

* If NoDevice is specified, include NoDevice only.
* If VirtualName starts with ephemeral, don't create Ebs (they are mutually
  exclusive anyway)
* Otherwise, assume Ebs and create it with the exact specified attributes by
  the user.

Change/add tests to reflect these changes.
2015-08-25 00:24:05 +03:00
Rickard von Essen
83980d2326 Enable headless mode by default on Parallels Desktop 11 2015-08-24 15:09:29 +02:00
Rickard von Essen
7d3afc882a Add check for Parallels Desktop edition in PD 11.
Starting since Parallels Desktop 11, the command line functionality is
available only in Pro and Business editions.
2015-08-22 13:15:59 +02:00
Chris Bednarski
0a79546cf9 Update dependency to an SSL-enabled path; this was migrated from launchpad to github 2015-08-21 17:17:56 -07:00
Chris Bednarski
bf733b75d5 Revert "By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5."
This reverts commit 55fadd96bccc3d762ca93cbc4d12b27f6117e196.
2015-08-21 16:46:29 -07:00
Chris Bednarski
c8d1c650f0 Revert "Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing."
This reverts commit d13647ee0f9ed8726781a01b7772f3e58c2d149a.
2015-08-21 16:45:47 -07:00
Chris Bednarski
1830c81eab Correct and expand docker config tests for commit, discard, export_path 2015-08-20 14:15:52 -07:00
Chris Bednarski
d13647ee0f Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing. 2015-08-20 14:03:16 -07:00
Olivier Tremblay
6644f57160 Merge branch 'master' into custom-targetpath 2015-08-20 08:20:55 -04:00
Olivier Tremblay
f301a6454d Added documentation, renamed config param to iso_target_path 2015-08-20 07:37:24 -04:00
Olivier Tremblay
661552dfd5 Merge branch 'master' into custom-targetpath 2015-08-20 07:26:22 -04:00
Chris Bednarski
8f7f82334a Merge pull request #2628 from mitchellh/b-docker-export-validation
Improve artifact validation for docker builder
2015-08-19 13:12:34 -07:00
Chris Bednarski
5503b7f496 Don't export errors 2015-08-19 13:12:16 -07:00
Chris Bednarski
55fadd96bc By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5. 2015-08-18 17:44:17 -07:00
Chris Bednarski
746b9a8391 Formatting tweaks 2015-08-18 16:55:29 -07:00
Chris Bednarski
1b1bd19c20 Reformat code so we can grep for this more easily 2015-08-18 16:47:12 -07:00
Chris Bednarski
750a9c61de Added discard option for docker builder, also reorganized some error messages 2015-08-18 14:38:32 -07:00
Chris Bednarski
32978a5109 Add an explicit error message when there is no output file specified 2015-08-18 13:48:18 -07:00
Chris Bednarski
1a775c05d9 Update calls to amazon to match the upstream
- see http://aws.amazon.com/releasenotes/2948141298714307
- run awsmigrate-renamer on each amazon module (chroot, instance, etc.)
2015-08-17 17:44:01 -07:00
Ian Glover
1447af5e42 Populate access and secret key for bundle_upload_command. 2015-08-13 14:58:15 +01:00
Chris Bednarski
d0f6ab4331 Merge pull request #2585 from mitchellh/f-dockerdownload
Implement docker download
2015-08-12 12:24:23 -07:00
Chris Bednarski
5ad4b0e97e Added tests and handle the tar format from docker cp - 2015-08-12 12:16:26 -07:00
Chris Bednarski
8cdd078952 Changed fixtures so we can do a directory test too 2015-08-12 11:48:47 -07:00
Chris Bednarski
62c5e8358d Added a test for docker upload and download 2015-08-12 11:36:56 -07:00
Chris Bednarski
de9ecd2d62 Add a test fixture file 2015-08-12 11:36:33 -07:00
Chris Bednarski
3523ffdce1 Farewell extra line. You were pretty but out of place. 2015-08-12 11:36:10 -07:00
Rickard von Essen
b6098baac2 Merge pull request #2587 from rickard-von-essen/issue-2543
Fix interpolation of {{.Flavor}} in parallels_tools_guest_path. (2)
2015-08-12 10:29:42 +02:00
Rickard von Essen
da82ff3fd6 Fix interpolation of {{.Flavor}} in parallels_tools_guest_path. (2)
Actually fix the error...

Fixes [GH-2543]
2015-08-12 10:28:06 +02:00
Chris Bednarski
047382eec9 Style tweak 2015-08-11 22:30:19 -07:00
Chris Bednarski
dc3c55cf8e Implemented downloader for the docker communicator so we can pull files out of a container 2015-08-11 22:22:52 -07:00
Rickard von Essen
5e610df4b3 Merge pull request #2583 from rickard-von-essen/issue-2543
Fix interpolation of {{.Flavor}} in parallels_tools_guest_path.
2015-08-12 01:44:19 +02:00
Rickard von Essen
5a6bcdeb78 Fix interpolation of {{.Flavor}} in parallels_tools_guest_path.
Fixes [GH-2543]
2015-08-12 01:34:08 +02:00
Chris Bednarski
313fcaf0ff Revert backwards-compatibility break in VMX option casing
PR #2309 introduced case-sensitive options in VMX files. This is to support a case-sensitive option called `virtualSSD`. The change made all options case-sensitive, which causes problems with external VMX options provided in user templates. To prevent breakage, this change is being reverted.

- Fixes #2574
- Reverts #2542
- Reverts #2309
2015-08-10 14:52:34 -07:00
Chris Bednarski
4cc443da8e Update use of ec2rolecreds to match upstream 2015-08-10 13:59:56 -07:00
Toni Ylenius
cbb2b538bd Support source_image_name in OpenStack builder
As gophercloud supports source_image_name let's allow that in builder
configuration also. This an alternative way of providing source_image.
2015-08-10 16:37:22 +03:00