Commit Graph

5129 Commits

Author SHA1 Message Date
Chris Bednarski 5eddaa77bf Corrected sprintf formatting in error messages 2015-10-08 17:43:54 -07:00
Chris Bednarski cc153aa71f Added a test to verify byte size for larger files downloaded from docker 2015-10-08 17:15:27 -07:00
Chris Bednarski 8ff5c07d0c Add a new packer template for testing large file downloads 2015-10-08 16:37:14 -07:00
Mark Peek 23d5e50600 Merge pull request #2790 from dragon788/patch-1
Added correct format for compression_level
2015-10-08 15:33:44 -07:00
Chris Bednarski bd82df7aa1 Merge pull request #2712 from bensojona/f-document-artifact-types
Document recommended artifact-types
2015-10-08 14:34:17 -07:00
Chris Bednarski d21e9ffddf Merge pull request #2810 from mitchellh/b-make-release
Split bin from prerelease guard so we can cross-compile dev builds
2015-10-08 14:33:34 -07:00
Seth Vargo 8f727219d9 Use a faster deploy script 2015-10-08 13:50:50 -04:00
Mark Peek 1bff430984 Merge pull request #2759 from eranchetz/patch-1
Remove errant backslash in build-image.html.markdown
2015-10-08 06:39:37 -07:00
Dave Cunningham 1fea962a3a account_file can be verbatim JSON string 2015-10-08 02:40:18 -04:00
Chris Bednarski e384df4397 Add warning that dev builds should not be shipped to production 2015-10-07 16:51:04 -07:00
Chris Bednarski 52e7f89571 Split bin from prerelease guard so we can cross-compile dev builds 2015-10-07 15:33:01 -07:00
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