Commit Graph

1546 Commits

Author SHA1 Message Date
Mitchell Hashimoto 669f301881 builder/digitalocean: use helper/comm 2015-06-13 18:26:13 -04:00
Mitchell Hashimoto e557928119 builder/amazon: use helper/communicator 2015-06-13 18:16:12 -04:00
Mitchell Hashimoto d5166a8e6c builder/virtualbox: use new communicator abstraction 2015-06-13 18:08:12 -04:00
Mitchell Hashimoto d545431f9b builder/null: adopt helper/communicator 2015-06-13 17:42:43 -04:00
Mitchell Hashimoto d851898131 builder/vmware: mirror virtualbox output dir changes 2015-06-13 17:00:14 -04:00
Mitchell Hashimoto 3976a34d29 builder/virtualbox: validate output dir in step, no in config 2015-06-13 16:58:37 -04:00
Mitchell Hashimoto 71d8c6610a Merge pull request #1968 from bhcleek/master
do not request a pty
2015-06-13 16:23:31 -04:00
Mitchell Hashimoto f1cef0baae builder/null: fix config parsing 2015-06-13 14:08:33 -04:00
Mitchell Hashimoto b3a9712402 builder/openstack: support user data [GH-1867] 2015-06-12 22:55:39 -04:00
Mitchell Hashimoto b6d6a71c6e builder/openstack: wait for more states 2015-06-12 22:50:59 -04:00
Chris Bednarski e60b22d48f Changed file builder to support content or source file operation 2015-06-12 18:18:38 -07:00
Chris Bednarski 766d217ed7 Pull config into the builder 2015-06-12 17:34:52 -07:00
Chris Bednarski 64fd3a3302 Added file builder as a cheap, fast way to build something with output for testing post-processors 2015-06-12 17:24:03 -07:00
Mitchell Hashimoto 48b674d331 builder/openstack: load extensions, stop server if supported 2015-06-12 18:04:46 -04:00
Mark Peek 16320372d6 Make some builder config usage more consistent with other builders 2015-06-12 14:02:09 -07:00
Mark Peek f398352996 Fix a bug where interpolation was broken in some builders 2015-06-12 14:00:59 -07:00
Mitchell Hashimoto a3863c3495 builder/openstack: update floating IP messaging 2015-06-12 15:23:05 -04:00
Mitchell Hashimoto 2c683c5057 builder/openstack: prioritize ssh interfaces 2015-06-12 14:28:27 -04:00
Clint Shryock bec59b535d builder/amazon: Add force_deregister option, to automatically deregister artifacts with name conflicts 2015-06-12 13:23:47 -05:00
Mitchell Hashimoto 31abc93f50 builder/openstack: support ssh_interface [GH-2087] 2015-06-12 14:22:32 -04:00
Clint Shryock 86206e316d add tags test 2015-06-12 10:39:37 -05:00
Mitchell Hashimoto 693f04afcc builder/openstack: AZ support 2015-06-12 11:10:10 -04:00
Mitchell Hashimoto 92b6b5c387 builder/openstack: can ref flavor by name 2015-06-12 10:32:31 -04:00
Mitchell Hashimoto ad374e82af builder/openstack: shuffle some fields to note unused fields 2015-06-12 10:05:03 -04:00
Mitchell Hashimoto 5d32a1f6e0 builder/openstack: use IP not FixedIP 2015-06-12 10:02:04 -04:00
Mitchell Hashimoto 590177ea4b builder/openstack: fix unit tests 2015-06-12 00:35:54 -04:00
Mitchell Hashimoto e724b5fe80 builder/openstack: support legacy env vars 2015-06-12 00:33:52 -04:00
Mitchell Hashimoto 50e2eb30e6 builder/openstack: modifications to work with rackspace 2015-06-12 00:28:38 -04:00
Mitchell Hashimoto a0d41fcd14 builder/openstack 2015-06-12 00:16:43 -04:00
Mitchell Hashimoto 46f518f21d builder/openstack: proper error extraction 2015-06-12 00:09:01 -04:00
Mitchell Hashimoto 7a46b80cfb builder/openstack-new: better UI 2015-06-12 00:05:24 -04:00
Mitchell Hashimoto 551e80774d builder/openstack-new: fix some issues 2015-06-12 00:03:17 -04:00
Mitchell Hashimoto c903579aaa builder/openstack-new 2015-06-11 23:43:36 -04:00
Mitchell Hashimoto 3933cc3217 Merge pull request #2208 from mitchellh/b-do-user
builder/digitalocean: user data support [GH-2113]
2015-06-11 16:57:04 -04:00
Clint 2af0f10d59 Merge pull request #2204 from mitchellh/b-aws-iam-profile-upload
builder/amazon-instance: Omit access, secrety key if using IAM Instan…
2015-06-11 10:55:57 -05:00
Clint Shryock 1fbf8b7f32 update create_tags for new sdk 2015-06-11 10:43:27 -05:00
Clint Shryock a8155e17aa merge acaire/add-ebs-snapshot-tags 2015-06-11 10:33:55 -05:00
Clint 900f3641c5 Merge pull request #2207 from mitchellh/f-amazon-allow-ami-name-spaces
builder/amazon: Allow spaces in AMI names
2015-06-11 08:49:21 -05:00
Mitchell Hashimoto dcf140f99f builder/digitalocean: more robust wait for pending 2015-06-10 19:53:07 -07:00
Mitchell Hashimoto 0e0cd28071 builder/digitalocean: fix failing unit tests 2015-06-10 19:31:48 -07:00
Mitchell Hashimoto 5cfd26a0d3 builder/digitalocean: user data support [GH-2113] 2015-06-10 19:29:48 -07:00
Mitchell Hashimoto c9c9e2871c builder/digitalocean: fix build 2015-06-10 18:58:50 -07:00
Mitchell Hashimoto 7dc59677f9 Merge branch 'do_certificate' of https://github.com/ColinHebert/packer into ColinHebert-do_certificate 2015-06-10 18:57:56 -07:00
Mitchell Hashimoto 5da56d2aa6 builder/digitalocean: image, region, etc. required 2015-06-10 18:54:51 -07:00
Mitchell Hashimoto 311c9eb5c2 builder/digitalocean: fix unit tests 2015-06-10 14:28:05 -07:00
Clint Shryock 2056fda4d3 builder/amazon: Allow spaces in AMI names 2015-06-10 16:19:36 -05:00
Mitchell Hashimoto 9a393a5601 builder/digitalocean: only list user images 2015-06-10 14:18:38 -07:00
Mitchell Hashimoto 486c7e4ae6 builder/digitalocean: remove unused things 2015-06-10 14:07:24 -07:00
Mitchell Hashimoto d9c48e82fb builder/digitalocean: switch to new lib 2015-06-10 14:02:06 -07:00
Clint Shryock c9b413e3d1 builder/amazon-instance: Omit access, secrety key if using IAM Instance Profile 2015-06-10 15:18:05 -05:00
Mitchell Hashimoto 9da9ce6046 vmware/iso: disk_additional_size 2015-06-10 12:41:17 -07:00
Mitchell Hashimoto 3ba9d70b22 Merge pull request #1382 from sneal/AdditionalDisksForVMwareISO
Additional disks for vmware iso
2015-06-10 12:39:50 -07:00
Mitchell Hashimoto 1d653efe90 Merge pull request #2174 from brandonheller/master
vmware/iso: support hierarchical output directories
2015-06-10 11:33:59 -07:00
Mitchell Hashimoto fafdfc962f vmware/common: detect Vmware 'unknown error' and show better message 2015-06-10 11:31:36 -07:00
Mitchell Hashimoto bd04b52b32 virtualbox/common: style 2015-06-10 10:50:08 -07:00
Mitchell Hashimoto 8d6a99457a Merge pull request #1078 from pleschev/skip_nat_port
Adding the ability to skip nat port forwarding for ssh connectivity
2015-06-10 10:47:03 -07:00
Mitchell Hashimoto be4a82dfae amazon/*: fix some merge conflicts 2015-06-10 10:33:01 -07:00
Mitchell Hashimoto 8e1db0d94c Merge branch 'fix_amazon_instance_waits' of https://github.com/renat-sabitov/packer into renat-sabitov-fix_amazon_instance_waits 2015-06-10 10:31:21 -07:00
Mitchell Hashimoto 0b819e4dd8 Merge pull request #2199 from rickard-von-essen/prl_pd11
Support Parallels Desktop 11
2015-06-10 10:21:07 -07:00
Jan Schumann 802cfa3871 make sure IOPS is not set for empty VolumeType 2015-06-10 17:21:25 +02:00
Jan Schumann 5d600c70f2 added test to illustrate wrong behavior 2015-06-10 17:20:41 +02:00
Rickard von Essen 8393b85ed5 Support Parallels Desktop 11 2015-06-10 07:41:12 +02:00
Mitchell Hashimoto f6f9cca7ce Merge pull request #2189 from mitchellh/b-download-extension
common: StepDownload can force an extension
2015-06-09 20:56:43 -07:00
Clint b31534d5fe Merge pull request #2197 from mitchellh/f-aws-fixup-ebs-snapshots
Update AWS EBS builder to fix invalid params
2015-06-09 13:52:28 -05:00
Clint Shryock 4da118c64f fix up tests 2015-06-09 11:56:40 -05:00
Clint Shryock 999b0874cc Update AWS EBS builder to fix invalid params 2015-06-09 11:38:53 -05:00
Clint Shryock 8c321138f4 Revert "Changing --region to --location"
This reverts commit f40fd36c31.

According to the documentation below, `--region` is the current flag. If you're
using an older version of the tools that use `--location`, you can customize the
commands in your Packer config with `bundle_vol_command` and `bundle_upload_command`

- http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/CLTRG-ami-upload-bundle.html
- https://www.packer.io/docs/builders/amazon-instance.html
2015-06-09 10:41:39 -05:00
Mitchell Hashimoto 23a48d6619 go fmt 2015-06-08 21:34:20 -07:00
Mitchell Hashimoto fa2bcb8bc5 update CHANGELOG 2015-06-08 21:33:53 -07:00
Mitchell Hashimoto 2373640881 Merge pull request #1663 from beezly/fix-vnc-missed-keys
Add 1/10th second delay between key events to VNC
2015-06-08 21:31:55 -07:00
Mitchell Hashimoto 20504da796 Merge pull request #2190 from mitchellh/b-http-addr
virtualbox,vmware: http server should listen on IPv4
2015-06-08 21:23:49 -07:00
Mitchell Hashimoto a8cd2a2223 Merge pull request #2038 from trumant/openstack_access_config_tests_env_clarity
Tests were failing incorrectly when OpenStack environment variables were...
2015-06-08 21:19:47 -07:00
Mitchell Hashimoto 60b60d9f75 Merge pull request #2036 from mojotalantikite/digitalocean_private
Fix digitalocean provider for private images [fixes mitchellh/packer#1792]
2015-06-08 21:18:33 -07:00
Mitchell Hashimoto 115b8f5f67 Merge pull request #2188 from mitchellh/b-vbox-remove-floppy
virtualbox/common: remove devices should delete floppy controller
2015-06-08 21:16:24 -07:00
Mitchell Hashimoto 9dff0adfb1 builder/google: don't hardcode SSH timeout [GH-1781] 2015-06-08 21:13:25 -07:00
Mitchell Hashimoto 9f0b8b71db virtualbox,vmware: http server should listen on IPv4 2015-06-08 20:47:47 -07:00
Mitchell Hashimoto 9ea34d4ea8 virtualbox/iso: force iso extension for downloads 2015-06-08 20:42:16 -07:00
Mitchell Hashimoto 35246ba986 virtualbox/common: fix test 2015-06-08 20:31:53 -07:00
Mitchell Hashimoto b441348ba4 virtualbox/common: remove devices should delete floppy controller
GH-1879
2015-06-08 20:25:21 -07:00
Mitchell Hashimoto 0885e03bbf virtualbox/iso: acceptance test 2015-06-08 20:24:49 -07:00
Clint 455d57a87f Merge pull request #2187 from mitchellh/f-aws-add-prevalidate-step
builder/aws: Add pre validate step, to validate things before building.
2015-06-08 22:02:36 -05:00
Clint Shryock 68040f786c show AMI id in error message 2015-06-08 22:00:59 -05:00
Clint Shryock 231f01cd35 builder/aws: Add pre validate step, to validate things before building. 2015-06-08 17:08:39 -05:00
Mitchell Hashimoto 984bbc3a1e amazon/common: wording nit 2015-06-08 09:38:50 -07:00
Mitchell Hashimoto 8aec42e363 update CHANGELOG 2015-06-08 09:25:56 -07:00
Mitchell Hashimoto 9387cc1ea1 Merge pull request #2175 from henrysher/fix-duplicate-ami
check the region before do the ami copy to fix the duplicate ami [GH-2123]
2015-06-08 09:20:02 -07:00
Mitchell Hashimoto f7e49d92ac Merge pull request #2178 from henrysher/fix-ami-copy-name
"Name" parameter required for copying ami across regions [GH-2172]
2015-06-08 09:16:17 -07:00
Mitchell Hashimoto 769b7d20b9 amazon/ebs: acceptance test for region copy 2015-06-08 09:16:01 -07:00
Vasiliy Tolstov 3d94462e37 remove image format from image name
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-06-08 14:44:26 +03:00
Henry Huang 052b5e6699 "Name" parameter required for copying ami across regions [GH-2172] 2015-06-05 11:15:48 +00:00
Shawn Neal e9a491ae45 New interpolation for additional vmware disks 2015-06-04 11:44:07 -07:00
Eric Richardson 5f183026b3 Fix vmware compact_disk step when there are no additional disks 2015-06-04 08:22:50 -07:00
Eric Richardson 7dfb837ddb Formatting cleanups from `go fmt` 2015-06-04 08:22:50 -07:00
Eric Richardson fab9ca9cdb Initial work to implement additional disk support in the vmware-iso builder
* Matches the syntax from mitchellh/packer#703
* Creates disk(s), adds them to the vmx template, and runs compact at the end
2015-06-04 08:22:50 -07:00
Henry Huang a5c476c6fe check the region before do the ami copy to fix [GH-2123] 2015-06-04 06:16:44 -04:00
Brandon Heller a7eeb6a6a7 vmware/iso: support hierarchical output directories
When providing a hierarchical output_directory value like
'transient/jenkins-slave', the VM would fail to build in the CreateDisk
step.  The properly created output directory would not match the location
provided to CreateDisk, since datastorePath() did not properly split such
paths.  Now this case works; tested hierarchical and singular
output_directory values.
2015-06-04 02:49:58 -07:00
Seth Vargo 33ca8b7fb5 Migrate to new AWS repo 2015-06-03 17:13:52 -04:00
Mitchell Hashimoto edf3415c6e builder/amazon: delete physical private key for debug mode [GH-1801] 2015-05-29 17:10:14 -07:00
Mitchell Hashimoto 3f636ef7f3 vmware/vmx: clarify messaging for source path required error 2015-05-29 17:04:11 -07:00
Mitchell Hashimoto 819986d19f builder/docker: validate export path is not a dir [GH-2105] 2015-05-29 16:24:29 -07:00