Commit Graph

5168 Commits

Author SHA1 Message Date
Mark Peek 31d3678814 Merge pull request #2807 from markpeek/markpeek-docker-tmpdir
Workaround docker-machine shared folder mapping issue
2015-10-07 14:14:02 -07:00
Mark Peek 77bfd1de2e Workaround docker-machine shared folder mapping issue
When using docker-machine on a Mac only the /Users folder is shared with
the VM. Uploads fail since the normal tmpdir is not shared. This change
uses the local packer directory (usually when run in the users home
folders) allowing it to work without setting TMPDIR explicitly. A better
fix would be to use the docker API directly but that would force users
to use docker API version 20+.
- fixes #901, fixes #1752, fixes #2436, fixes #2675, fixes #2697.
2015-10-07 13:29:53 -07:00
Mark Peek a3a7c974d0 Merge pull request #2422 from vtolstov/qemu
fix qemu driver and builder
2015-10-06 21:30:38 -07:00
Mark Peek 5ef142c8bd Fixes #2777: isotime interpolation uses InitTime 2015-10-06 16:45:30 -07:00
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
Sébastien Fievet 3495204382 Fix ansible inventory example 2015-10-06 15:04:04 +02:00
Chris Becker 647a072257 Fix template error on ansible provisioner documentation 2015-10-05 13:19:21 -04: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
Mark Peek 2411c779d1 Make qemu ssh_wait_timeout example more reasonable 2015-10-01 22:52:06 -07:00
Chris Bednarski 4116dff925 Merge pull request #2789 from rk295/patch-1
Confusing to specify this twice
2015-10-01 11:44:03 -07:00
dragon788 c48e2319ab Added correct format for compression_level 2015-09-30 20:40:58 -05:00
Robin Kearney 87f2f7c96d Confusing to specify this twice 2015-09-30 13:13:46 +01:00
Chris Bednarski 024132a698 Merge pull request #2780 from jarl-dk/master
Makefile fix
2015-09-26 21:59:21 -07:00
Jarl Friis 8ab4a5f3a5 Makefile fix 2015-09-26 13:33:30 +02:00
Chris Bednarski f2013a9c0c Merge pull request #2775 from mitchellh/atlas-support-compile-id
post-processor/atlas: support sending compile ids
2015-09-25 12:01:52 -07:00
Jack Pearkes 6bf790a975 post-processor/atlas: support sending compile ids
Requires https://github.com/hashicorp/atlas-go/pull/44
2015-09-25 11:52:38 -07:00
Eran Chetz 569121519d minor change that was majorly bugging me 2015-09-21 16:32:18 +03:00
Rickard von Essen 23c4c015a6 Merge pull request #2757 from rickard-von-essen/gce_fix
Fixed GCE builder after dependency change.
2015-09-20 10:37:23 +02:00
Rickard von Essen 9cf99289c5 Fixed GCE builder after dependency change.
See
4af91da601
2015-09-20 10:14:07 +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
Jesse Callaway 7def47f376 indent ami_block_device_mappings subkeys 2015-09-15 10:33:44 -04:00
Vasiliy Tolstov 48f8612b72 add virtio-scsi
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-15 10:59:29 +00:00
Justin Campbell 4cd70a2467 Fix Atlas /operations link 2015-09-11 09:42:58 -04:00
Mikhail Zholobov 36a6fc2cc4 website/docs: Add description of "skip_compaction" option for Parallels builders 2015-09-11 16:13:39 +03: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
Jon Benson dd286ff63c Add artifact_types 2015-09-08 12:51:24 -05: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
Jon Benson 673baa12d0 Add vmware and virtual box to artifact_types 2015-09-04 15:08:27 -05:00
Jon Benson 5e27f9353f Document recommended artifact_type 2015-09-04 15:01:35 -05:00
Jon Benson dbd1a13f0d Document recommended artifact-types 2015-09-04 14:51:35 -05:00
Gonzalo Peci f01f62dc88 Add specific exit codes listed on https://msdn.microsoft.com/en-us/library/windows/desktop/ms681383(v=vs.85).aspx 2015-08-28 09:55:14 +12:00
Gonzalo Peci 8bd3e62853 Because the new functionality makes the ```waitForRestart()``` function run commands it modifies the value of ```comm.StartCmd.Command``` that is being checked, we need to implement the same workaround that is being used for the ```waitForCommunicator()``` function. This should make the test work again and retain functionality. 2015-08-28 09:54:59 +12:00
Gonzalo Peci 08359e409a Revert the shutdown command with new parameters as this will return proper exit codes. This will work in the same way as restart-computer -force when using ```shutdown /r /f /t 0```.
Note:The WinRM library does not return the exit code currently, this will be implemented on https://github.com/masterzen/winrm/pull/26
2015-08-28 09:54:39 +12:00
Gonzalo Peci 70083fc869 Add reboot checks before moving out of the reboot. 2015-08-28 09:54:24 +12:00
Chris Bednarski 17cea4fa95 Merge pull request #2681 from tas50/master
Download chef from chef.io
2015-08-27 14:37:12 -07:00
Chris Bednarski 5c7481362c Changed AWS_SECURITY_TOKEN to AWS_SESSION_TOKEN
Fixes #2687
2015-08-27 14:35:54 -07:00
Mitchell Hashimoto 6d1376db94 up version for dev 2015-08-26 21:24:47 -07:00
Chris Bednarski c834a00e22 Added a name validator to the push command 2015-08-26 12:16:18 -07:00
Chris Bednarski 0d973145f5 Added a note to the push docs about dot being disallowed in atlas names 2015-08-26 12:00:13 -07:00
Tim Smith 72e8119233 Download chef from chef.io 2015-08-25 21:53:50 -07:00
Chris Bednarski 38dd0a5bde Merge pull request #2665 from lantrix/master
Powershell debugging options as per Issue #2550
2015-08-24 22:38:38 -07:00
Chris Bednarski 4932e0cb16 Merge pull request #2669 from rickard-von-essen/issue-2667
Fixes #2667: Added vmware-rename to fix command help text
2015-08-24 22:12:02 -07: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 4e20522afd Fixes #2667: Added vmware-rename to fix command help text 2015-08-24 20:19:49 +02:00
Rickard von Essen 83980d2326 Enable headless mode by default on Parallels Desktop 11 2015-08-24 15:09:29 +02:00
Lantrix 1fe44b6624 Powershell debugging options as per Issue #2550 2015-08-24 17:32:01 +10:00