Commit Graph

995 Commits

Author SHA1 Message Date
Myles Steinhauser 28286d2821 Fix tabs vs spaces 2014-01-13 00:03:10 -05:00
Myles Steinhauser e4cfcb2a8a Add more special scancodes 2014-01-10 12:40:43 -05:00
Mitchell Hashimoto 12938fe36b builder/virtualbox,vmware: checksum not required if checksum type is
none
2014-01-04 11:10:13 -08:00
Jack Pearkes 0788d96841 builder/docker: include user vars for docker configuration 2014-01-02 14:49:30 -08:00
Mitchell Hashimoto c74b3758d3 builder/vmware-iso: ESX5Driver impl OutputDir [GH-773] 2014-01-01 20:55:08 -08:00
Greg Lu 6d2e50e598 builder/virtualbox/ovf: fix shutdown_timeout handling
The shutdown_timeout config parameter was being ignored
(for both the user setting and the "5m" default) on the
virtualbox-ovf builder. As a result, packer complained
of timeouts on graceful shutdowns, and the build process
would error out. This fixes that along with some newly
created tests.
2013-12-31 18:28:33 -05:00
Mitchell Hashimoto 5c7e7daac9 comments 2013-12-28 10:04:15 -07:00
Mitchell Hashimoto 8204944c0e builder/amazon: handle cases when amazon SG isn't available [GH-494] 2013-12-28 10:03:22 -07:00
Mitchell Hashimoto 2b801a7b12 builder/vmware,virtualbox: checksum_type can be "none" [GH-471] 2013-12-28 09:59:47 -07:00
Mitchell Hashimoto 8aabe01bad builder/amazon/common: run_tags to apply to launch [GH-722] 2013-12-27 20:54:35 -07:00
Jack Pearkes 7a956e1a11 builder/digitalocean: add private_networking option for droplets 2013-12-27 10:26:27 -08:00
Mitchell Hashimoto 037a744be5 builder/docker: customize run command [GH-648] 2013-12-27 10:17:45 -07:00
Mitchell Hashimoto eeadafc452 builder/vmware/*: can specify path to fusion [GH-677] 2013-12-27 08:37:39 -07:00
Mitchell Hashimoto 437dc12de3 builder/virtualbox/iso: load shutdown config [GH-754] 2013-12-26 23:28:15 -07:00
Mitchell Hashimoto 366d169388 fmt 2013-12-26 17:20:13 -07:00
Mitchell Hashimoto f81e2ef88a Merge pull request #746 from devcamcar/openstack-key-logging
builder/openstack: added keypair logging for debugging to OpenStack builder
2013-12-26 16:19:25 -08:00
Mitchell Hashimoto 8be172d19a Merge pull request #758 from mitchellh/f-vmware-vmx
Build VMware machine from VMX (source VM)
2013-12-26 16:16:00 -08:00
Chris Lundquist 5564fb0028 Rename drover_docker_test.go to driver_docker_test.go 2013-12-26 16:09:24 -08:00
Mitchell Hashimoto 9362cb5364 builder/vmware/vmx: set the full_disk_path so compacting works 2013-12-26 15:44:39 -07:00
Mitchell Hashimoto 8e75075ec9 builder/vmware/vmx: compact disk 2013-12-26 15:35:37 -07:00
Mitchell Hashimoto f134bcc3f4 builder/vmware/common: better UI when forcibly shutting down 2013-12-26 15:34:53 -07:00
Mitchell Hashimoto 2b3d98d48d builder/vmware/vmx: create artifact 2013-12-26 15:32:38 -07:00
Mitchell Hashimoto 7f38cea9f3 builder/vmware/vmx: shutdown 2013-12-26 15:31:23 -07:00
Mitchell Hashimoto ac8354ad9c builder/vmware/vmx: step connect SSH 2013-12-26 15:28:15 -07:00
Mitchell Hashimoto e11f655d22 builder/vmware/vmx: run the VMs 2013-12-26 15:26:09 -07:00
Mitchell Hashimoto 286edcb2b4 builder/vmware/vmx: configure VMX 2013-12-26 15:14:19 -07:00
Mitchell Hashimoto 03fb5fb0f1 builder/vmware/common: Fusion6 driver can clone 2013-12-26 15:03:12 -07:00
Mitchell Hashimoto 8fecdf179d builder/vmware/common: Fusion6Driver 2013-12-26 14:54:26 -07:00
Mitchell Hashimoto f23d66a1b9 builder/vmware/vmx: clone vmx 2013-12-26 14:39:41 -07:00
Mitchell Hashimoto 82fad98b07 builder/vmware/vmx: set the settings for cloning vmx 2013-12-26 08:36:00 -07:00
Mitchell Hashimoto eeeaec3562 builder/vmware/vmx: StepCloneVMX 2013-12-26 08:34:27 -07:00
Mitchell Hashimoto 141cfeb4bb builder/vmware/vmx: outputdir 2013-12-25 16:01:57 -07:00
Mitchell Hashimoto 6fdcb0f832 builder/vmware/vmx: initial stuff 2013-12-25 15:52:40 -07:00
Mitchell Hashimoto 16911d75e9 builder/vmware: move drivers out to common 2013-12-25 15:50:12 -07:00
Mitchell Hashimoto bee879409a builder/vmware: new artifact type that is common 2013-12-25 11:27:53 -07:00
Mitchell Hashimoto 8d963501d7 builder/vmware/iso: set SSHConfig 2013-12-25 10:44:10 -07:00
Mitchell Hashimoto 4f32692fd5 builder/vmware: StepShutdown 2013-12-24 23:33:49 -07:00
Mitchell Hashimoto 6c4af2d75f builder/vmware/iso: convert stepShutdown to use OutputDir for cleanup 2013-12-24 23:16:13 -07:00
Mitchell Hashimoto 87ab914a3c builder/vmware: StepCompactDisk 2013-12-24 23:09:22 -07:00
Mitchell Hashimoto f01b21c610 builder/vmware: StepCleanVMX 2013-12-24 18:40:52 -07:00
Mitchell Hashimoto 8f8ea60b4f builder/vmware/common: StepCleanFiles 2013-12-24 18:17:58 -07:00
Mitchell Hashimoto 95e0e465cf builder/vmware: move StepRun to common 2013-12-24 18:12:43 -07:00
Mitchell Hashimoto 7f86fa5fef builder/vmware/iso: Move remote registration out to separate step 2013-12-24 14:39:52 -07:00
Mitchell Hashimoto 6cf8d9b319 builder/vmware/common: StepSuppressMessages 2013-12-24 14:26:44 -07:00
Mitchell Hashimoto e5f674a8c2 builder/vmware/common: Mock driver and test for DHCP Lease IP lookup 2013-12-24 11:55:44 -07:00
Mitchell Hashimoto 458bfd186f builder/vmware: move driver out of ISO 2013-12-24 11:31:57 -07:00
Mitchell Hashimoto d73cbd3744 builder/vmware/common: make the dir private for LocalOutputDir 2013-12-24 11:22:22 -07:00
Mitchell Hashimoto 50f8b2c1a3 builder/vmware: move outputdir stuff to common 2013-12-24 11:21:02 -07:00
Mitchell Hashimoto 8bd3ca4470 builder/vmware/common: shuffling stuff around 2013-12-24 11:00:51 -07:00
Mitchell Hashimoto 29931cd0c0 builder/vmware/common: SSHConfig 2013-12-23 23:27:01 -07:00
Mitchell Hashimoto 6d83ef5499 builder/vmware/iso: move VMX methods out to the common 2013-12-23 23:09:47 -07:00
Mitchell Hashimoto 33452c2dfd builder/vmware: add more stuff to common 2013-12-23 23:07:43 -07:00
Mitchell Hashimoto 91392feb58 builder/vmware/iso: fix package name 2013-12-23 22:58:41 -07:00
Mitchell Hashimoto d1e68875a7 builder/vmware: move to iso package 2013-12-23 22:58:13 -07:00
Mitchell Hashimoto 5ab83238bf builder/vmware: separate step to configure vmx 2013-12-23 14:38:54 -08:00
Mitchell Hashimoto 39d0600085 builder/virtualbox: fmt 2013-12-23 14:21:28 -08:00
Devin Carlen 4e594ec22f Added keypair logging for debugging to OpenStack builder 2013-12-22 20:30:13 -08:00
Mitchell Hashimoto c7bf38b63b builder/virtualbox/common: only remove ISO if it was attached 2013-12-22 17:08:07 -08:00
Mitchell Hashimoto 473fe8a950 builder/virtualbox/ovf: instantiate the driver 2013-12-22 17:04:26 -08:00
Mitchell Hashimoto c2b3fa732a builder/virtualbox/ovf: validate source_path 2013-12-22 17:02:22 -08:00
Mitchell Hashimoto e69bb1858c builder/virtualbox/ovf: specify name for import 2013-12-22 15:24:24 -08:00
Mitchell Hashimoto 5b223f0798 builder/virtualbox/ovf: re-order some steps 2013-12-22 15:20:49 -08:00
Mitchell Hashimoto dd767c9d54 builder/virtualbox/ovf: StepImport to import an OVF 2013-12-22 15:19:19 -08:00
Mitchell Hashimoto 0de7bb33cd builder/virtualbox: set Tpl on VBoxManage 2013-12-22 11:57:05 -08:00
Mitchell Hashimoto e51dde13ce builder/virtualbox: tests for StepUploadVerison 2013-12-22 11:55:01 -08:00
Mitchell Hashimoto 5f1c597269 builder/virtualbox: StepUploadVersion 2013-12-22 11:50:29 -08:00
Mitchell Hashimoto 5feb7bce18 builder/virtualbox/common: Export 2013-12-22 10:40:39 -08:00
Mitchell Hashimoto 026bcd33fe builder/virtualbox: StepRun common 2013-12-22 10:30:12 -08:00
Mitchell Hashimoto fbd20dffcb builder/virtualbox/common: StepRemoveDevices 2013-12-22 09:54:00 -08:00
Mitchell Hashimoto b65559d888 builder/virtualbox: StepShutdown tests 2013-12-22 09:47:44 -08:00
Mitchell Hashimoto 67a87ce3e4 builder/virtualbox: StepShutdown 2013-12-22 09:37:27 -08:00
Mitchell Hashimoto 4bd2aa6106 builder/virtualbox: StepVBoxmanage 2013-12-22 09:24:29 -08:00
Mitchell Hashimoto 7a4ff3f2b1 builder/virtualbox: generic SSHConfig 2013-12-22 09:08:09 -08:00
Mitchell Hashimoto 79c0c6b545 builder/virtualbox: step attach floppy 2013-12-22 08:10:11 -08:00
Mitchell Hashimoto d731dcd8f7 builder/virtualbox: floppy files config 2013-12-22 07:58:07 -08:00
Mitchell Hashimoto 598822d46b builder/virtualbox/common: move outputdir config to common 2013-12-21 17:38:06 -08:00
Mitchell Hashimoto 886c0d3ad5 builder/virtualbox/common: StepSuppressMessages 2013-12-21 16:05:34 -08:00
Mitchell Hashimoto db167c5a3d builder/virtualbox/common: StepOutputDir 2013-12-21 15:20:15 -08:00
Mitchell Hashimoto cdc02db96d builder/virtualbox/common: Move Driver here 2013-12-21 15:00:48 -08:00
Mitchell Hashimoto 14eede264f builder/virtualbox: add common package, common Artifact 2013-12-21 14:51:38 -08:00
Mitchell Hashimoto afd67ea104 builder/virtualbox/iso: rename package 2013-12-21 14:27:00 -08:00
Mitchell Hashimoto 01c7bbf8c4 builder/virtualbox: move to iso/ folder 2013-12-21 14:25:22 -08:00
Mitchell Hashimoto 8e4ce2c591 builder/amazon: alphabetize 2013-12-21 14:22:05 -08:00
Mitchell Hashimoto 4a2793445f builder/amazon/chroot: mount in device-specific places 2013-12-21 09:16:09 -08:00
Mitchell Hashimoto ac36b33f98 builder/virtualbox: fix compilation 2013-12-19 08:49:50 -08:00
Mitchell Hashimoto 3c5c9a6ea3 builder/virtualbox: sleep when stopping forcefully to allow session
unlock
2013-12-19 08:49:23 -08:00
Mitchell Hashimoto dcae79e67f builder/virtualbox: remove devices in separate step 2013-12-19 08:47:37 -08:00
Mitchell Hashimoto c264ef0a29 builer/virtualbox: avoid crash since guest additions path not set 2013-12-18 11:27:25 -08:00
Mitchell Hashimoto 675f7a43ba builder/virtualbox: don't download guest additions if disable [GH-731] 2013-12-18 11:22:02 -08:00
Mitchell Hashimoto da16887010 Merge pull request #724 from ChrisKozak/master
builder/digitalocean: Updated DigitalOcean default image id
2013-12-18 09:01:06 -08:00
Mitchell Hashimoto ae7459718d builder/amazon/instance: use US if region us-east-1 for upload [GH-729] 2013-12-18 09:00:20 -08:00
Mitchell Hashimoto 69f971094c builder/vmware: style 2013-12-18 08:40:35 -08:00
Mitchell Hashimoto 2920239e6e builder/virtualbox: verify output dir is writable 2013-12-18 08:40:35 -08:00
Chris Kozak f5d6df6416 Updated DigitalOcean default image id
It looks like DigitalOcean replaced the "Ubuntu 12.04" image with "Ubuntu 12.04.3".  We've updated the ImageID to point to the new image.
2013-12-17 17:41:47 +00:00
Mitchell Hashimoto b95ad0c232 builder/amazon/all: launched instances have a name [GH-642] 2013-12-16 18:11:23 -08:00
Mitchell Hashimoto a91b8f6853 builder/googlecompute: only load secrets/private key if given 2013-12-13 19:32:01 -08:00
Mitchell Hashimoto bde4b02d2b builder/googlecompute: artifact tests 2013-12-13 19:08:27 -08:00
Mitchell Hashimoto 637968f2dd builder/googlecompute: artifact uses Driver, no more api 2013-12-13 19:07:10 -08:00
Mitchell Hashimoto 33a84c0938 builder/googlecompute: StepRegisterImage 2013-12-13 19:03:10 -08:00
Mitchell Hashimoto 587f057bf6 builder/googlecompute: StepUploadImage 2013-12-13 18:30:57 -08:00
Mitchell Hashimoto 20a074b4ee builder/googlecompute: StepCreateImage 2013-12-13 18:26:00 -08:00
Mitchell Hashimoto 37903337ea builder/googlecompute: update gsutil 2013-12-13 18:21:02 -08:00
Mitchell Hashimoto a2cf4cae25 builder/googlecompute: enable provisioning 2013-12-13 18:08:43 -08:00
Mitchell Hashimoto 1055f470e6 builder/googlecompute: enable SSH 2013-12-13 18:07:16 -08:00
Mitchell Hashimoto a72d31fb5b builder/googlecompute: get instance info 2013-12-13 13:01:28 -08:00
Mitchell Hashimoto 57f707dfcc builder/googlecompute: delete instance 2013-12-12 22:34:47 -08:00
Mitchell Hashimoto f72f7a37d1 builder/googlecompute: fix all sorts of zone issues 2013-12-12 22:23:19 -08:00
Mitchell Hashimoto b676058144 builder/googlecompute: better logging 2013-12-12 21:53:05 -08:00
Mitchell Hashimoto 54d59fc79f builder/googlecompute: get rid of all client stuff for now 2013-12-12 21:53:05 -08:00
Mitchell Hashimoto 52f51a1dcd builder/googlecompute: disable other steps for now 2013-12-12 21:53:05 -08:00
Mitchell Hashimoto 2bd6f1e2d7 builder/googlecompute: driver and create instance tests 2013-12-12 21:53:05 -08:00
Mitchell Hashimoto 3657f33a4d builder/googlecompute: StepCreateSSHKey tests 2013-12-12 21:53:05 -08:00
Mitchell Hashimoto 2091dffe40 builder/googlecompute: cancel works 2013-12-12 21:53:04 -08:00
Mitchell Hashimoto fbc07942f0 builder/googlecompute: test config basics 2013-12-12 21:53:04 -08:00
Mitchell Hashimoto 46d297c7bd builder/googlecompute: client secrets tests 2013-12-12 21:53:04 -08:00
Mitchell Hashimoto 6507afd3ad builder/googlecompute: private key tests 2013-12-12 21:53:04 -08:00
Mitchell Hashimoto ee9ea170af builder/googlecompute: move config out to seperate file 2013-12-12 21:53:04 -08:00
Mitchell Hashimoto a78b10c06d builder/googlecompute: set ID to packer namespace now thats in core 2013-12-12 21:53:04 -08:00
Kelsey Hightower cc1130962b Use the same license as Packer core 2013-12-12 21:53:04 -08:00
Kelsey Hightower 58c73727e5 builder/googlecompute: Add new googlecompute builder 2013-12-12 21:53:03 -08:00
Mitchell Hashimoto 1234e61cda builder/amazon/all: get rid of unnecessary field 2013-12-12 21:38:48 -08:00
Mitchell Hashimoto 80c2f0fcd0 Merge pull request #690 from TranscendComputing/master
builder/qemu: added template processing for QemuArgs, floppy_files for auto-building f...
2013-12-12 14:46:08 -08:00
Mitchell Hashimoto 5e0da21173 builder/amazon/ebs: nicer output 2013-12-12 12:24:51 -08:00
Mitchell Hashimoto 4677f38882 builder/amazon: parallelize AMI region copies [GH-495] 2013-12-12 12:24:32 -08:00
Mitchell Hashimoto 6aef114372 go fmt 2013-12-11 11:19:36 -08:00
Mitchell Hashimoto 2789281285 builder/vmware: clarify guestiphack error message [GH-639] 2013-12-07 10:31:57 -08:00
Mitchell Hashimoto 8766a93245 builder/vmware: correct logic in cehcking if file is still there 2013-12-06 19:12:49 -08:00
Mitchell Hashimoto 6211cd2028 builder/vmware: more resilient to racing deletes [GH-675] 2013-12-06 19:11:40 -08:00
Mitchell Hashimoto f7b1c2dbc6 builder/amazon/instance: add location to upload command [GH-679] 2013-12-06 19:04:40 -08:00
Mitchell Hashimoto 2110edb690 builder/amazon/chroot: remove unused import 2013-12-06 18:32:21 -08:00
Mitchell Hashimoto 2dad0cdca7 builder/amazon/chroot: block when obtaining lock [GH-689] 2013-12-06 18:28:48 -08:00
Mitchell Hashimoto a770a5b2f2 Merge pull request #660 from CpuID/master
builder/amazon/ebs: AssociatePublicIpAddress for launching
2013-12-06 18:15:19 -08:00
Mitchell Hashimoto 5d420ce1c1 Revert "Merge pull request #663 from ktruong7/public-AMI"
This reverts commit b2fc77870b, reversing
changes made to 4789d3acc8.

This is already possible by setting groups.
2013-12-06 18:09:05 -08:00
Mitchell Hashimoto 09b53212bb Merge pull request #663 from ktruong7/public-AMI
builder/amazon/all: added option to make AMI public
2013-12-06 18:05:45 -08:00
Mitchell Hashimoto 60c797b256 Merge pull request #637 from johnbellone/master
builder/openstack: add ProxyUrl parameter for OpenStack builder
2013-12-06 17:58:15 -08:00
Mitchell Hashimoto e1042cbc2c Merge pull request #681 from pcfens/qemu-img-formats
builder/qemu: qemu format img is invalid
2013-12-06 17:55:32 -08:00
Thomas D. Hite 08f5131746 Added template processing for QemuArgs, floppy_files for auto-building floppies which attach to the VM at startup, and run_once flag to trigger just one powerup/powerdown. 2013-12-06 18:20:25 -06:00
adrian kalaveshi d0387d1d3a Trivial bug fix in mechanism to clean installation ISOs for VMware builder
The resolution of Bug #608 still had issues.  This change removes a
superfluous period.

Testing Done:
- built packer with my change
- built VMware VMs and saw that the vmx file had the expected
  changes.
2013-12-05 21:36:34 +00:00
Phil Fenstermacher c4ae11589d Changed error message and docs to match code - qemu-img options are qcow2 and raw 2013-12-04 14:05:07 -05:00
ktruong7 2994129486 fixed format issue 2013-11-27 10:48:32 -05:00
ktruong7 961e58dfd0 fixed format issues 2013-11-27 10:47:06 -05:00
ktruong7 3589b0ba27 Added option to make ami public automatically 2013-11-26 09:59:16 -05:00
Nathan Sullivan e711255d95 fix some debugging for PublicIpAddress 2013-11-26 15:03:45 +10:00
Nathan Sullivan 4809186c12 remove excess debugging 2013-11-26 15:02:43 +10:00
Nathan Sullivan 6270d759cd revert whitespace changes - not necessary anymore 2013-11-26 15:01:57 +10:00
Nathan Sullivan 13f55bdec6 working AssociatePublicIpAddress support 2013-11-26 14:45:06 +10:00
Nathan Sullivan 5cbff00afa goamz aspects of AssociatePublicIpAddress working now 2013-11-26 14:14:43 +10:00
Nathan Sullivan 49a131951a reverting testing stuff 2013-11-26 13:46:32 +10:00
Nathan Sullivan 0cfb7564d5 lets try a string instead of a bool for AssociatePublicIpAddress 2013-11-26 13:44:39 +10:00
Nathan Sullivan 5df7bc0acf oops bugfix for work on https://github.com/mitchellh/packer/issues/578 2013-11-26 12:05:37 +10:00