Commit Graph

1661 Commits

Author SHA1 Message Date
Mitchell Hashimoto 1aa1399e85 builder/parallels: fix compilation issuse 2015-06-22 12:46:13 -07:00
Mitchell Hashimoto 13c2c4660d Merge branch 'issue_2080' of https://github.com/rickard-von-essen/packer into rickard-von-essen-issue_2080 2015-06-22 12:39:30 -07:00
Mitchell Hashimoto 5db4d7c01f fmt 2015-06-22 12:37:52 -07:00
Mitchell Hashimoto 944b4bf46c common: delete file if checksum fails 2015-06-22 12:17:29 -07:00
Clint 6579219013 Merge pull request #2282 from mitchellh/f-amazon-cleanup-volumes
builder/amazon-ebs: Clean up orphan volumes
2015-06-22 12:56:26 -05:00
Mitchell Hashimoto 93bb0d86af builder/virtualbox: fix default names 2015-06-22 09:25:15 -07:00
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context 2015-06-22 09:22:42 -07:00
Mitchell Hashimoto d600456487 builder/virtualbox: fix interpolation weirdness 2015-06-22 09:17:09 -07:00
Mitchell Hashimoto 54e081d5af builder/virtualbox: only remove output dir after check 2015-06-22 09:09:12 -07:00
Clint Shryock dff6cf1a83 code tweak after review 2015-06-22 10:48:54 -05:00
Mitchell Hashimoto 9c6d0dfc8b builder/virtualbox: fix type casting
/cc @pearkes - This fixes that crash
2015-06-21 19:56:55 -07:00
Clint Shryock c9714ce69e builder/amazon-ebs: Clean up orphan volumes
Fixes #1783
2015-06-19 10:22:39 -05:00
Mitchell Hashimoto 9c0f37b2c9 builder/amazon: fix weird edge cases with key names [GH-2281] 2015-06-19 06:21:20 +02:00
Mitchell Hashimoto 5c290fdbc7 builder/amazon use proper key pair name 2015-06-19 06:15:16 +02:00
Chris Bednarski 1edbbd80bf Merge pull request #2205 from mitchellh/f-vtolstov-compress
Added new compress post-processor from Vasiliy Tolstov
2015-06-18 19:09:44 -07:00
Chris Bednarski f06847ff10 Merge branch 'master' into f-vtolstov-compress 2015-06-18 05:19:30 -07:00
Mikhail Zholobov 0a53fbc29d builder/parallels: Add mock for "SetDefaultConfiguration" method
Fixes unit test failures
2015-06-18 14:36:32 +03:00
Mikhail Zholobov 2860bfdf82 builder/parallels: Apply default settings on the VM creation step. 2015-06-18 12:08:17 +03:00
Mikhail Zholobov f7af571cd9 builder/parallels: Add "SetDefaultConfiguration" function
This functions applies the default configuration to the virtual machine. Also, it disables some integration features
which should not present in the resulted VM image.

Functions are different in PD 9 and 10 structs because some additional options appeared only in Parallels Desktop 10 release.
2015-06-18 12:04:02 +03:00
Mitchell Hashimoto d9fceaf39d update CHANGELOG 2015-06-18 10:19:46 +02:00
Mitchell Hashimoto ba2cf18460 Merge branch 'master' of https://github.com/ldx/packer into ldx-master 2015-06-18 10:18:17 +02:00
Mitchell Hashimoto fd40b714c4 Merge pull request #2118 from vtolstov/image
remove image format from image name in qemu builder
2015-06-18 10:16:51 +02:00
Mitchell Hashimoto 9bb7d0a2d5 Merge pull request #2152 from abayer/gce-optional-internal-ip
builder/google: Adds support for using the internal IP rather than NAT IP in GCE
2015-06-18 10:15:27 +02:00
Mitchell Hashimoto 4da0b42fc1 Merge pull request #2054 from garnaat/amazon-chroot-check-before-umount
builder/amazon-chroot: Only unmount if path is actually mounted
2015-06-18 10:12:06 +02:00
Mitchell Hashimoto b7dab2689a fmt 2015-06-18 05:23:04 +02:00
Bob Kuo b77fcd90f3 Force qemu to use a VNC port by setting vnc_min_port == vnc_max_port
Similar to Issue #1288, this prevents a crash when we set the VNC
minimum port equivalent to the VNC maximum port
2015-06-17 16:07:38 -05:00
Chris Bednarski f2f8ad16c0 Merge branch 'master' into f-file-builder 2015-06-16 12:08:33 -07:00
Chris Bednarski aea70d5a72 Added acceptance test for file builder 2015-06-16 11:31:53 -07:00
Chris Bednarski 29f02d243f Had io.Copy args swapped; also use os.Create instead of os.OpenFile for MAGIC 2015-06-15 18:56:09 -07:00
Mitchell Hashimoto de2004c1c9 Merge branch 'master' of https://github.com/nyetsche/packer into nyetsche-master 2015-06-15 15:21:58 -07:00
Alexander Golovko 15f40a3d00 fix disabling vmware tools for ESX 2015-06-15 15:08:56 -07:00
Marc Siegfriedt 667c53942b use template for additional disks 2015-06-15 12:40:34 -07:00
Clint 5e786e3bb2 Merge pull request #2250 from mitchellh/b-amazon-block-docs
Document Amazon Block Device Mapping fields
2015-06-15 12:20:13 -05:00
Chris Bednarski 9c5845e3c7 Merge branch 'master' into f-file-builder 2015-06-15 10:18:42 -07:00
Mitchell Hashimoto 523a3342b8 builder/qemu: fix tests 2015-06-15 10:15:08 -07:00
Clint Shryock d22c4173d3 fix crash when waiting for an instance that has failed 2015-06-15 11:53:21 -05:00
Mitchell Hashimoto dc067b3f10 Merge pull request #2244 from mitchellh/f-docker-ssh
builder/docker: support custom communicators
2015-06-15 09:48:55 -07:00
Mitchell Hashimoto c76bed37ec Merge pull request #2236 from mitchellh/b-qemu-ssh
builder/qemu: use proper ssh port [GH-2074]
2015-06-15 09:41:28 -07:00
Mitchell Hashimoto 70af21615e Merge pull request #2233 from mitchellh/b-output-dir
builder/virtualbox,vmware: validate output dir in step
2015-06-15 09:40:36 -07:00
Mitchell Hashimoto a95408aa21 Merge pull request #2224 from mitchellh/f-os-userdata
builder/openstack: support user data [GH-1867]
2015-06-15 09:35:49 -07:00
Mitchell Hashimoto 3edff00696 Merge pull request #2223 from mitchellh/b-stop-openstack
builder/openstack: load extensions, stop server if supported
2015-06-15 09:35:36 -07:00
Mitchell Hashimoto d8cc24f86e builder/openstack: no more port 2015-06-15 09:34:35 -07:00
Mitchell Hashimoto 5167c65f87 Merge branch 'b-openstack-privage' 2015-06-15 09:33:58 -07:00
Clint 2372393f64 Merge pull request #2212 from mitchellh/f-amazon-add-tags-to-snapshots
Add EBS snapshot tags #846 #1219
2015-06-15 10:05:57 -05:00
Clint 8fca582278 Merge pull request #2221 from mitchellh/f-amazon-force-deregister-artifacts
builder/amazon: Add force_deregister option
2015-06-15 10:02:30 -05:00
Mitchell Hashimoto cab2665119 builder/docker: support custom communicators 2015-06-14 22:09:38 -07:00
Mitchell Hashimoto 7fc69828c5 builder/virtualbox: fix forwarding to work with WinRM 2015-06-14 21:47:53 -07:00
Mitchell Hashimoto ccf20568a7 Merge pull request #2240 from mitchellh/f-windows
Windows AWS instances
2015-06-14 10:52:10 -07:00
Mitchell Hashimoto 101e5986dc builder/amazon: enable windows for instance type too 2015-06-14 10:50:18 -07:00
Mitchell Hashimoto b8d5bd3776 Merge pull request #2242 from emate/spot_network_interfaces_fix
Fix network interface spec when requesting spot.
2015-06-14 10:48:59 -07:00
Marcin Matlaszek b51761ca36 Fix network interface spec when requesting spot. 2015-06-14 17:47:45 +02:00
Mitchell Hashimoto e9d916a7bc builder/amazon: don't print windows password 2015-06-13 23:14:48 -07:00
Mitchell Hashimoto 8f6ecfd9e3 builder/amazon: various fixes (minor) to get things going 2015-06-13 23:12:59 -07:00
Mitchell Hashimoto 022a115d19 builder/amazon: improve messaging 2015-06-13 22:42:10 -07:00
Mitchell Hashimoto d23f254b76 builder/amazon: don't get password if platform not set on image 2015-06-13 22:39:19 -07:00
Mitchell Hashimoto fd4e0e9da4 builder/amazon: StepGetPassword 2015-06-13 22:35:45 -07:00
Mitchell Hashimoto ea86cb4c7e builder/qemu: use proper ssh port [GH-2074] 2015-06-13 19:30:16 -04:00
Mitchell Hashimoto 115d583cff helper/communicator: make host more generic 2015-06-13 19:23:33 -04:00
Mitchell Hashimoto 68e4734caf builder/null: pass unit tests 2015-06-13 18:55:37 -04:00
Mitchell Hashimoto b61ed3adfc builder/vmware: convert to helper/comm 2015-06-13 18:52:44 -04:00
Mitchell Hashimoto 89af447c8c builder/qemu: convert to helper/comm 2015-06-13 18:47:59 -04:00
Mitchell Hashimoto 820bad6939 builder/parallels: convert to new comm type 2015-06-13 18:43:27 -04:00
Mitchell Hashimoto f55e2d2c4b builder/openstack: convert to helper/comm 2015-06-13 18:34:37 -04:00
Mitchell Hashimoto 502076c92e builder/googlecompute: use helper/comm 2015-06-13 18:30:16 -04:00
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