Commit Graph

5138 Commits

Author SHA1 Message Date
Mark Peek 31dd989e2e Add qcow2 shrink/compress tests for #2748 2015-10-31 18:15:19 -07:00
Mark Peek c2fd83e04c Merge pull request #2748 from vtolstov/qcow2
add shrink step for qcow2 image format
2015-10-31 18:13:04 -07:00
Mark Peek 0c8a83e9e7 Merge pull request #2895 from higebu/fix-typo
Fix #2892: vmware-iso builder fix mapstructure typo
2015-10-31 11:11:13 -07:00
Mark Peek ca19688316 aws: fix test breakage due to upstream breaking change #2891 2015-10-31 11:04:50 -07:00
Yuya Kusakabe 07079a5905 Fix #2892 2015-10-31 19:32:40 +09:00
Chris Bednarski 41fce02bd3 Merge pull request #2893 from jhmartin/patch-1
Add IAM policy for copying images
2015-10-30 14:23:50 -07:00
Jason Martin 62bcf6c7ce Add IAM policy for copying images
The ec2:CopyImage privilege is required in order to make a cross-region AMI when using the  `ami_regions` option for the amazon-ebs builder.
2015-10-30 13:19:44 -07:00
Chris Bednarski 09574c469b Merge pull request #2891 from Banno/fix-upstream-aws-change
aws: build after upstream breaking change
2015-10-30 12:10:22 -07:00
Luke Amdor 8682dec178 aws: build after upstream breaking change
see 1a69d06935
2015-10-30 13:58:56 -05:00
Chris Bednarski 4fa3f647e5 Merge branch 'master' of https://github.com/mitchellh/packer 2015-10-29 17:08:38 -07:00
Chris Bednarski 0e771e62b6 Updated changelog to note changes to the plugin system 2015-10-29 17:08:31 -07:00
Seth Vargo 82126d01e6 Trailing slash 2015-10-29 16:24:22 -04:00
Vasiliy Tolstov 8e1cc16ab5 add convert step for qcow2 image format
https://ext4.wiki.kernel.org/index.php/Ext4_VM_Images does not
recommends to dd zero file and deletes it, but in case of enabling
discards and qcow2 image we can recreate qcow2 file with less used
space.
Also qemu-img able to enable compression for qcow2 files, that
sometimes may be useful because it natively supported by qemu.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-10-29 12:27:46 +00:00
Mark Peek df8f88b3d1 Merge pull request #2879 from clstokes/artifact-amazon-image
Change amazon.ami to amazon.image as atlas artifact type
2015-10-28 08:34:54 -07:00
Cameron Stokes a9df89df15 Change amazon.ami to amazon.image.
... to be consistent with https://github.com/hashicorp/terraform/pull/3195.
2015-10-27 20:45:08 -07:00
Chris Bednarski 8c9d3de6e1 Merge pull request #2876 from timsutton/patch-1
Fixed page_title for Artifice post-processor
2015-10-27 12:50:56 -07:00
Timothy Sutton 9f66dbbde7 Fixed page_title for Artifice post-processor 2015-10-27 15:47:05 -04:00
Chris Bednarski 803cbde17e Change output format to bytes 2015-10-27 11:57:54 -07:00
Chris Bednarski 8d19ac2dd3 Merge pull request #2863 from grubernaut/issue_1059
Print slug size before upload in packer's atlas post-processor
2015-10-27 11:55:53 -07:00
Jake Champlin 1c1ccc1191 Use Units of measure in file size
Use units of measure, and convert file size to MB with atlas post processor
2015-10-27 10:12:41 -04:00
Mark Peek eb15536041 Merge pull request #2774 from btd/btd-patch-1
Fix AMI creation - replace not allowed character , and add allowed .
2015-10-26 22:00:16 -07:00
Mark Peek 4e1e9b788a Merge pull request #2845 from abridgett/feature/spot_price_zero
spot_price of "0" to mean on demand
2015-10-26 21:51:44 -07:00
Mark Peek 581ab9f4f5 Merge pull request #2849 from markpeek/iso-cleanup
Refactor builder ISO options
2015-10-26 21:43:59 -07:00
Mark Peek c3d77dc5a1 Fix unintended BC issues in ISO option refactoring 2015-10-26 17:39:48 -07:00
Mark Peek 7e1badbd33 Merge pull request #2865 from markpeek/error-line-numbers
Fix #2742: Include template line numbers on error
2015-10-26 17:10:18 -07:00
Mark Peek ba7814b0ed Merge pull request #2846 from markpeek/packer-tmp
Create docker temp files under packer.d when TMPDIR is not set
2015-10-26 17:09:22 -07:00
Mark Peek 43cb854b3e Merge pull request #2568 from pecigonzalo/f-winrm-reboot
Add reboot checks before moving out of the reboot sequence for WinRM
2015-10-26 16:57:13 -07:00
Seth Vargo 264e345827 Use vendored fastly logo 2015-10-26 11:52:34 -04:00
Adrian Bridgett 3257b26fa7 one more place to check SpotPrice 2015-10-26 10:20:49 +00:00
Chris Bednarski e66caf5c68 Merge pull request #2866 from mitchellh/sethvargo/releases
Use releases to release
2015-10-25 20:52:12 -07:00
Seth Vargo 0acc75ae49 Use releases to release 2015-10-25 23:51:20 -04:00
Mark Peek 71ed8e4a38 Fix #2742: Include template line numbers on error 2015-10-25 12:28:06 -07:00
Mark Peek 5bfa6ce2b8 post-processor/vagrant: add artifact id tests for AWS and DO 2015-10-23 18:38:47 -07:00
Mark Peek 6951c6824b Merge pull request #2688 from mitchellh/docs-aws-session-token
Changed AWS_SECURITY_TOKEN to AWS_SESSION_TOKEN
2015-10-23 17:46:32 -07:00
Mark Peek 62fd4df0a7 Merge pull request #2684 from mitchellh/docs-atlas-names
Added a note to the push docs about dot being disallowed in atlas names
2015-10-23 17:46:24 -07:00
Jake Champlin 0b6d303e65 Fixes Issue #1059
Adds size output to `ui.Message` as well as if the artifact failed to
upload to atlas.
2015-10-23 17:39:48 -07:00
Mark Peek 0d2fa223f2 builder/vmware-esxi: hide password in ovftool command 2015-10-23 16:51:03 -07:00
Mark Peek 9d0c443ca2 builder/vmware-esxi: Add format validation and step_export tests 2015-10-23 16:50:14 -07:00
Mark Peek e80b3c6321 Merge pull request #1921 from higebu/add-step-export
builder/vmware-esxi: Add step_export
2015-10-23 16:38:18 -07:00
Yuya Kusakabe 699c673536 builder/vmware-esxi: Add step_export
If `format` option is configured, packer exports the VM with ovftool.

website: Document about OVF Tool and `format` option.

post-processor/vsphere: Enable to use `mitchellh.vmware-esx` artifact type and OVF and OVA formats, fixes #1457.
2015-10-23 09:00:53 +09:00
Chris Bednarski 8e63ce1302 Merge pull request #2854 from mitchellh/f-integrated-plugins-rebase
Implemented internal plugins
2015-10-21 17:04:14 -07:00
Chris Bednarski a143f1e085 Updated build.sh so it doesn't build all the plugins separately anymore 2015-10-21 16:57:38 -07:00
Chris Bednarski eb8a0bf731 Add some documentation to generate-plugins 2015-10-21 16:57:38 -07:00
Chris Bednarski 9c68f039b3 Don't suppress errors from provisioners or post-processors 2015-10-21 16:57:38 -07:00
Chris Bednarski 6783bc3fb0 Added generator for command/plugin.go so we don't have to edit it by hand to add new plugins 2015-10-21 16:57:38 -07:00
Chris Bednarski 95797d7a8a Fatal -> Fatalf since we have a format string 2015-10-21 16:57:38 -07:00
Chris Bednarski 7acdc1b6af Hide the plugin command from help output 2015-10-21 16:57:38 -07:00
Chris Bednarski bfe5b5b4b6 Change if/else logic to switch 2015-10-21 16:57:38 -07:00
Chris Bednarski 1641a5e0cb Replace string splitting with a regexp; this is clearer and less code because of the post-processor case 2015-10-21 16:57:38 -07:00
Chris Bednarski e080e73b04 Add some exit codes and use a constant for -PACKERSPACE- 2015-10-21 16:57:38 -07:00