Mikhail Zholobov
c1510d2b50
Parallels provider: fix typos
2014-05-02 01:07:00 +04:00
Mitchell Hashimoto
3a68c8aaef
builder/parallels: update builder ID
...
We're using packer namespace now
2014-05-01 13:59:52 -07:00
Rickard von Essen
cdaa9d5a8e
Added support for Parallels Desktop for Mac [GH-223]
...
Added builder plugins: builder-parallels-iso and builder-parallels-pvm.
2014-05-01 20:29:22 +02:00
Pierre Riteau
04d1bc67ff
Support more user variables in the OpenStack builder
2014-05-01 10:23:43 +01:00
Kgespada
f48fc1e2cd
Adds security group support
...
Allows security groups to be specified in the template.
2014-05-01 00:32:55 -07:00
Mitchell Hashimoto
660be5b783
builder/openstack: support a tenant ID
2014-04-30 17:21:32 -07:00
Mitchell Hashimoto
4a725409af
Merge pull request #919 from nebula/manage_floating_ips
...
[OpenStack] Add flexible IP pool/address handling.
2014-04-30 16:54:13 -07:00
Mitchell Hashimoto
6f6d656267
Merge pull request #1089 from rasa/use-slugs-for-digitalocean
...
builder/digitalocean: use names/slugs as well as IDs for image/region/si...
2014-04-30 15:55:09 -07:00
Mitchell Hashimoto
0417ae3059
builder/amazon: alphabetize some things
2014-04-30 15:43:11 -07:00
Ross Smith II
2bcd9a304e
builder/digitalOcean: use names/slugs as well as IDs for image/region/size
2014-04-29 20:33:31 -07:00
Jacob Helwig
38e880a187
Add ability to run vboxmanage commands just before exporting [GH-664]
2014-04-29 11:58:11 -07:00
Ben Broderick Phillips
fc4b2e1569
Add flexible IP pool/address handling.
2014-04-28 15:20:44 -07:00
Ross Smith II
f2186fa6ff
Merge pull request #995 from asatara/add-ssh-host-vmware
...
Added ssh_host variable to vmware iso builder
2014-04-28 11:33:40 -07:00
Mitchell Hashimoto
0558d56bcf
builder/amazon/chroot: get tests psasing on Windows
2014-04-26 12:31:55 -07:00
Mitchell Hashimoto
83add3969f
builder/virtualbox: fix deps
2014-04-26 12:27:30 -07:00
Mitchell Hashimoto
91574c3a60
builder/vmware: fix builds
2014-04-26 12:25:18 -07:00
Mitchell Hashimoto
65804c07c5
builder/null: pass SSH tests
2014-04-26 11:28:02 -07:00
Mitchell Hashimoto
fa339fc275
get more proper SSH package usage in
2014-04-26 11:23:26 -07:00
Mitchell Hashimoto
5fac6c79c4
fmt
2014-04-26 11:12:43 -07:00
Mitchell Hashimoto
e84e5e4f2c
Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
...
Conflicts:
builder/amazon/common/ssh.go
builder/digitalocean/ssh.go
builder/googlecompute/ssh.go
builder/openstack/ssh.go
communicator/ssh/communicator_test.go
communicator/ssh/keychain.go
communicator/ssh/keychain_test.go
2014-04-26 11:12:06 -07:00
Mitchell Hashimoto
b024f8b628
Merge pull request #1046 from higebu/fix-esx5-driver
...
Fix unknown command and syntax error of the ESX5Driver, see #1012 , #1015
2014-04-26 11:07:42 -07:00
Mitchell Hashimoto
0da1f2d8c6
builder/googlecompute: template process instance name
2014-04-26 11:02:25 -07:00
Mitchell Hashimoto
15c2ca955e
Merge pull request #1065 from brettporter/gce_instance_name
...
builder/googlecompute: configure instance name
2014-04-26 10:58:27 -07:00
Brett Porter
e169013527
builder/googlecompute: configure instance name
...
Retain the current default of an instance name generated by UUID, but allow
users to choose a specific one. Useful for provisioning with Puppet when a
node name is used to select the right manifest.
2014-04-26 12:17:02 +10:00
Mitchell Hashimoto
23446d56fd
builder/openstack: use proper function call for config
2014-04-21 21:34:03 -07:00
Mitchell Hashimoto
159587daf4
Merge pull request #768 from devcamcar/openstack-env-support
...
builder/openstack: Add support for standard OpenStack environment variables
2014-04-21 21:11:37 -07:00
Mitchell Hashimoto
a9f07bc3ff
Merge pull request #912 from nebula/populate_api
...
builder/openstack: added support for gophercloud's PopulateApi
2014-04-21 21:02:06 -07:00
Ross Smith II
e38ff2f84e
Merge pull request #1021 from laggyluke/master
...
builder/amazon: configurable virtualization type
2014-04-21 18:08:32 -07:00
Ross Smith II
850b066408
Merge pull request #945 from benlangfeld:feature/vb_output_opts (manually)
2014-04-21 08:38:48 -07:00
higebu
37b92dff3a
Fix unknown command and syntax error of the ESX5Driver
2014-04-22 00:27:33 +09:00
Ross Smith II
db96a79bf4
use code.google.com/p/gosshold/ssh
2014-04-21 08:18:19 -07:00
Ross Smith II
a33aee13d5
Merge pull request #970 from fnoeding/nullbuilder
...
implemented null buider
2014-04-21 08:12:33 -07:00
Ross Smith II
ef1898083a
Merge pull request #971 from fnoeding/amazon-sshkey
...
optionally use existing ssh key for amazon builders
2014-04-21 08:10:05 -07:00
Ross Smith II
e9c84ef449
Merge pull request #1001 from zshenker/update-gce-builder-to-v1-api
...
Updates googlecompute build to v1 API & uses boot persistent disk
2014-04-21 08:04:35 -07:00
Ross Smith II
3f4baf4aec
Merge pull request #1011 from rasa/add-cloning-in-windows
...
builder/vmware-vmx: add cloning support on Windows [GH-824]
2014-04-21 07:38:05 -07:00
Pierre Riteau
77dedd9eab
Properly return error when invalid instance state is found
2014-04-17 12:56:25 -05:00
Ross Smith II
203f85bfb0
Merge pull request #1034 from rasa/patch-1
...
builder/digitalocean: updated default image_id, per #1032
2014-04-16 22:36:31 -07:00
higebu
f087ce16dc
Fix the build problem by updating ssh package
2014-04-15 10:17:26 +09:00
Ross Smith II
9cf76ff338
builder/digitalocean: updated default image_id, per #1032
2014-04-13 16:43:43 -07:00
Ross Smith II
27491f93f8
use old ssh code until higebu's branch is ready, see #1019
2014-04-11 08:23:12 -07:00
George Miroshnykov
fc6e8c0830
builder/amazon: configurable virtualization type
2014-04-10 15:16:31 +03:00
Ross Smith II
d420947db6
added %s for productVersion param
2014-04-06 15:50:19 -07:00
Ross Smith II
72924f0d56
builder/vmware-vmx: add cloning support on Windows [GH-824]
2014-04-06 15:31:49 -07:00
Zac Shenker
139e498962
Changing to the v1 google-api-go-client. Now creates a persistent disk as the boot disk, and sets it to auto delete
2014-04-03 15:18:58 -07:00
asatara
ecbb0e8498
Added ssh_address variable to vmware builders
2014-03-31 11:54:14 -07:00
Florian Noeding
6371b70609
optionally use existing ssh key for amazon builders
2014-03-24 12:47:00 +01:00
Florian Noeding
b879ec85cc
implemented null buider
...
The null builder is not really a bulider, it just setups a SSH
connection and runs the provisioners. It can be used to debug
provisioners without incurring high wait times. It does not create any
kind of image or artifact.
2014-03-24 11:26:10 +01:00
Ben Langfeld
128f555a2c
Formatting
2014-03-14 13:22:49 -03:00
Ben Langfeld
5b07e2604c
Fix export opts tests
2014-03-14 13:22:44 -03:00
Ben Langfeld
8cf0e53b19
Properly apply templates to export opts
2014-03-14 13:22:32 -03:00
Ben Langfeld
2cee7a5c10
Log export command being executed
2014-03-14 00:26:26 -03:00
Ben Langfeld
bfd6755859
Move to an array of strings for a deterministic option separation
2014-03-14 00:12:50 -03:00
Ben Langfeld
d1b41f2f14
Pass export_options individually to VBoxManage export
2014-03-13 23:33:35 -03:00
Mitchell Hashimoto
9ce3365382
Merge pull request #918 from stefanozanella/qemu_ssh_key_var
...
builder/qemu: support user templates in SSH key path
2014-03-12 21:39:07 -07:00
Mitchell Hashimoto
dccb2471a9
Merge pull request #926 from CpuID/master
...
builders/amazon: increase SSH timeouts for Amazon builders
2014-03-12 21:11:29 -07:00
Ben Langfeld
0332901f63
builder/virtualbox: Add an `export_opts` option
...
Allows arbitrary arguments to VBoxManage export, such as product info (--product, --vendor, etc).
2014-03-12 10:12:20 -03:00
Mitchell Hashimoto
3c59d0ef96
builder/vmware/common: fix failing tests on Windows
2014-03-07 10:29:04 -08:00
Mitchell Hashimoto
68524a3840
builder/vmware/common: fix build tag for Windows
2014-03-07 10:22:33 -08:00
Nathan Sullivan
e44fb1bd2a
increase SSH timeouts for Amazon builders, they can take a while to spin up at times
2014-03-04 11:31:14 +10:00
Mitchell Hashimoto
239aabb554
builder/virtualbox: retry unregister a few times [GH-915]
2014-03-01 16:20:02 +01:00
Stefano Zanella
85dcdcfead
builder/qemu: support user templates in SSH key path
2014-02-27 18:37:44 +01:00
Torrent Glenn
ee95fbbd99
added support for gophercloud's PopulateApi
2014-02-25 13:15:56 -08:00
Mitchell Hashimoto
4576093c17
fmt
2014-02-24 08:26:51 -08:00
Mitchell Hashimoto
9a62269116
Merge pull request #900 from pmyjavec/ws10-linux-driver
...
VMWare Workstation 10 driver for Linux
2014-02-24 08:25:03 -08:00
Alan Grosskurth
af89b31a40
builder/amazon: Fix S3 endpoint URL for instance-store builds
...
The S3 endpoint URLs don't always include the region name. See:
http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
This mapping is already provided by `goamz` via `region.S3Endpoint`,
so let's use it.
2014-02-23 22:49:10 -08:00
Mitchell Hashimoto
868a64ebbc
fmt
2014-02-21 16:48:30 -08:00
Mitchell Hashimoto
0fd7bdd3f5
builder/qemu: style
2014-02-21 15:22:58 -08:00
Mitchell Hashimoto
1b23af2667
Merge pull request #854 from qur/qemu-config-binary
...
builder/qemu: binary name to be configured
2014-02-21 15:22:27 -08:00
Mitchell Hashimoto
d2fe49d6a2
builder/qemu: document run_once is gone (but keep it around for compat)
2014-02-21 15:18:03 -08:00
Mitchell Hashimoto
8fdd60d924
Merge pull request #864 from CoreMedia/master
...
builder/qemu: handle reboots in the shell provisioner
2014-02-21 15:15:47 -08:00
Mitchell Hashimoto
e3c0715eab
fmt
2014-02-21 15:11:56 -08:00
Mitchell Hashimoto
d44a42b04f
Merge pull request #884 from pmyjavec/vmware-iso-driver-fix
...
builder/vmware: get host IP by creating & inspecting connection, allows hypervisor...
2014-02-21 15:11:35 -08:00
Mitchell Hashimoto
5f01415fb7
builder/googlecompute: tests for #867
2014-02-21 15:10:09 -08:00
Mitchell Hashimoto
05ecbd546b
Merge pull request #870 from vogxn/master
...
builder/googlecompute: save private key when debugging gce builder
2014-02-21 15:01:00 -08:00
Mitchell Hashimoto
1843ebf396
Merge pull request #883 from b2jrock/bjj-add-importopts
...
builder/virtualbox/ovf: Add import_opts to the virtualbox-ovf builder.
2014-02-21 14:58:36 -08:00
Mitchell Hashimoto
039def70f8
Merge pull request #885 from rosstimson/ec2-upload-bundle
...
builder/amazon/instance: use --url flag rather than --location for ec2-upload-bundle
2014-02-21 14:57:12 -08:00
Mitchell Hashimoto
9f7670a50f
builder/vmware-iso: output upload error [GH-899]
2014-02-21 14:07:25 -08:00
Paul Myjavec
3ea4aa1a5a
added workstation 10 driver for linux
2014-02-21 15:20:54 +11:00
Paul Myjavec
6e7a69372a
these functions can be shared by 9 and 10 vmware workstation drivers
2014-02-20 20:08:57 +11:00
Paul Myjavec
aedef06016
esx5, Get host IP by creating & inspecting connection, allows hypervisor to reside in other networks
2014-02-20 19:37:12 +11:00
Brian Johnson
ac2c4203a2
Add import_opts to the virtualbox-ovf builder. My use case is that I
...
have existing virtualbox virtual machines where I need to keep the mac
addresses so that the network interfaces come up when packer boots them.
Otherwise I just get SSH timeout and I'm unable to configure the machines.
2014-02-18 16:44:27 -08:00
Devin Carlen
e7d7f9bbfd
Add OpenStack API key support
2014-02-17 15:56:31 -08:00
Devin Carlen
828d7ebdca
Append /tokens suffix if not present for specific OpenStack authentication URLs
2014-02-17 15:51:56 -08:00
Devin Carlen
bef63846af
Add support for standard OpenStack environment variables
2014-02-17 15:30:01 -08:00
Ross Timson
58444627c1
Use --url flag rather than --location for ec2-upload-bundle
...
AWS docs (http://goo.gl/rNZiCs ) show that --location is deprecated and
to use the --url flag and reference the region endpoint instead.
2014-02-13 09:36:45 +00:00
Prasanna Santhanam
d4c9ed43c9
Formatted googlecompute builder as per `make format`
2014-01-31 22:26:09 +05:30
Prasanna Santhanam
0e98b2a269
Fixes #867 : save private key when debugging gce builder
...
Signed-off-by: Prasanna Santhanam <tsp@qubole.com>
2014-01-31 19:13:31 +05:30
mheidenr
cfb9b4d65d
enable qemu builder to handle reboots in the shell provisioner
2014-01-30 08:46:54 +01:00
Julian Phillips
a8993662b5
Allow Qemu binary name to be configured
...
On some systems the default Qemu binary name of qemu-system-x86_64
isn't appropriate. So expose the binary name as a configurable item,
allowing the user to set it to something more appropriate if they need
to.
2014-01-24 18:01:42 +00:00
Mitchell Hashimoto
e8768785a0
website: add docs for docker-import and docker-push
2014-01-19 20:42:42 -08:00
Mitchell Hashimoto
8635085665
builder/docker: make Import part of this Driver for reuse
2014-01-19 19:55:01 -08:00
Mitchell Hashimoto
34dbf72142
post-processor/docker-import: have an Artifact
...
/cc @mmckeen
2014-01-19 19:48:06 -08:00
Mitchell Hashimoto
430963f400
fmt
2014-01-19 19:30:11 -08:00
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
Nathan Sullivan
31bf1f342c
https://github.com/mitchellh/packer/issues/578
2013-11-26 11:32:08 +10:00
Mitchell Hashimoto
cc13e6690c
builder/amazon/chroot: don't choose partition mount point if taken
...
[GH-635]
2013-11-19 12:50:33 -08:00
Mitchell Hashimoto
d9c3aed479
builder/virtualbox: use VBOX_INSTALL_PATH to find VBoxManage
2013-11-19 12:32:10 -08:00
John Bellone
817b1bdb32
Add ProxyUrl parameter for OpenStack builder.
...
In my particular case I need to use a separate HTTP proxy to access my
OpenStack API than what is set in the environment. This commit adds an
optional parameter to the builder configuration and overrides the
net/http client that is used by the gophercloud library.
2013-11-19 13:55:55 -05:00
Mitchell Hashimoto
b787d6fb1d
builder/vmware: ESX artifacts have a different builder ID
...
This is so that things like vagrant post-processors and vsphere
post processors don't work.
2013-11-18 16:10:55 -08:00
Doug MacEachern
4af1c7f1b2
builder/vmware: Double check that OutputDirectory does not already exist
...
The initial check in Builder.Prepare does not use the OutputDir interface.
stepPrepareOutputDir also checks if OutputDir exists, error out there unless
using -force so we get the same behavior when RemoteType is esx5.
2013-11-12 13:11:02 -08:00
Doug MacEachern
3f5a02cf2a
builder/vmware: Add ListFiles and Remove methods to OutputDir interface
...
- Fixes builder/vmware when using RemoteType esx5,
as there is no longer a local OutputDir
2013-11-12 12:49:57 -08:00
Doug MacEachern
9655be5582
builder/vmware: Path related fixes in esx5 driver
...
- Fix mkdir of packer_cache in ESX5Driver.UploadISO
- Fix vmx path in ESX5Driver.IsRunning
2013-11-12 09:17:28 -08:00
Mitchell Hashimoto
21bb0674f2
builder/docker: ctrl-C works during provisioning
2013-11-12 16:24:16 +00:00
Mitchell Hashimoto
d88cb09d32
builder/vmware: ctrl-c works during wait for boot
2013-11-12 16:20:52 +00:00
Mitchell Hashimoto
c1bd7468d5
builder/virtualbox: ctrl-c works during wait for boot
2013-11-12 16:19:38 +00:00
Mitchell Hashimoto
832b4408a5
builder/docker: verify docker is available on path
2013-11-09 21:26:05 -08:00
Mitchell Hashimoto
c04d1cd57e
builder/docker: say when killing the container
2013-11-09 19:17:27 -08:00
Mitchell Hashimoto
d8b29cd63b
builder/docker: remove unused file
2013-11-09 19:11:07 -08:00
Mitchell Hashimoto
7bcfd83bdd
builder/docker: stream output from commands
2013-11-09 19:06:03 -08:00
Mitchell Hashimoto
2b89da50b3
builder/docker: UploadDir
2013-11-09 18:44:43 -08:00
Mitchell Hashimoto
ab5f719734
builder/docker: show stderr if docker fails to run
2013-11-09 17:27:30 -08:00
Mitchell Hashimoto
8ec68031d0
builder/docker: ability to disable pull
2013-11-09 17:21:24 -08:00
Mitchell Hashimoto
0287cdd614
builder/docker: config refactor
2013-11-09 17:07:14 -08:00
Mitchell Hashimoto
06b6cb1af1
builder/docker: artifact
2013-11-09 13:22:13 -08:00
Mitchell Hashimoto
a58754b974
builder/docker: StepExport tests
2013-11-09 13:15:51 -08:00
Mitchell Hashimoto
0e3011cbce
builder/docker: StepRun tests
2013-11-09 13:03:01 -08:00
Mitchell Hashimoto
62b81dc432
builder/docker: StepPull test, driver abstraction for tests
2013-11-09 12:12:23 -08:00
Mitchell Hashimoto
2da9233655
builder/docker: test StepTempDir
2013-11-09 11:58:20 -08:00
Mitchell Hashimoto
da683afde0
builder/docker: config validation test
2013-11-09 11:47:32 -08:00
Mitchell Hashimoto
23ad5442ec
builder/docker: perform cleanup in run method, not prematurely
2013-11-09 10:15:25 -08:00
Mitchell Hashimoto
44a41451f0
builder/docker: Communicator.Start doesn't block
2013-11-09 10:13:27 -08:00
Mitchell Hashimoto
d5ce8ddb4a
builder/docker: export the final image
2013-11-09 09:48:36 -08:00
Mitchell Hashimoto
d27ceaf509
builder/docker: remove the exit code file when we're done
2013-11-09 00:47:37 -08:00
Mitchell Hashimoto
2e7574e360
builder/docker: command output and exit codes work
...
/cc @mwhooker - CCing you on this because it is also ridiculous. See the
big comments
2013-11-09 00:33:36 -08:00
Mitchell Hashimoto
eabd32f3ce
builder/docker: comment the sleep on remote exec
2013-11-09 00:06:45 -08:00
Mitchell Hashimoto
c1f0fe3f3f
builder/docker: fix upload for copy to work
2013-11-09 00:05:44 -08:00
Mitchell Hashimoto
5f76ed68c4
builder/docker: Remote execution works!
...
/cc @mwhooker - WOW. By luck, I had a hunch that maybe something like
this might be going on based on straces I was reading. Check:
https://github.com/dotcloud/docker/issues/2628
Anyways, this works now. No more blocker!
2013-11-08 23:59:25 -08:00
Mitchell Hashimoto
797c44bfc1
builder/docker: a non-working communicator
2013-11-08 23:43:41 -08:00
Mitchell Hashimoto
2e080ece6d
builder/docker: start a container
2013-11-08 22:17:46 -08:00
Mitchell Hashimoto
4db609b24c
builder/docker: tests for some exec stuff
2013-11-08 22:02:47 -08:00
Mitchell Hashimoto
034e04cc1e
builder/docker: pull images
2013-11-08 22:00:57 -08:00
Mitchell Hashimoto
3feab1dea1
builder/docker: boilerplate
2013-11-08 16:55:02 -08:00
Mitchell Hashimoto
c8a6def83d
builder/vmware: downcase more vmx data
2013-11-08 14:21:31 -08:00
Mitchell Hashimoto
e4f1dcb6f9
builder/vmware: Fusion suppresses upgrade requests
2013-11-08 12:19:09 -08:00
Mitchell Hashimoto
781332b297
builder/vmware: fix local output dir exists check
2013-11-08 11:48:04 -08:00
Mitchell Hashimoto
3adbd09639
builder/amazon/chroot: fix compile error
2013-11-08 11:19:10 -08:00
Mitchell Hashimoto
3780b57a1f
builder/amazon/chroot: allow no such file errors on upload [GH-588]
2013-11-08 10:53:54 -08:00
Mitchell Hashimoto
17f1ee3e98
builder/amazon/chroot: quote commands and pass through a shell [GH-581]
2013-11-08 10:22:56 -08:00
Mitchell Hashimoto
52fb77a883
builder/vmware: case-insensitive VMX creation [GH-608]
2013-11-07 22:06:30 -08:00
Mitchell Hashimoto
47ac6897de
builder/vmware: start/stop ESXi5 VMX with proper path
2013-11-07 21:22:12 -08:00
Mitchell Hashimoto
ba8a0dbec0
builder/vmware: only unregister if registration success
2013-11-07 21:19:24 -08:00
Mitchell Hashimoto
e5ae542142
builder/vmware: register the VMX to the proper path on esx
2013-11-07 21:18:25 -08:00
Mitchell Hashimoto
2ccc5e80c7
builder/vmware: log when writing a VMX
2013-11-07 21:03:15 -08:00
Mitchell Hashimoto
b228723903
builder/vmware: for remote builds, put VMX in temp dir
2013-11-07 21:02:12 -08:00
Mitchell Hashimoto
a4b54f1cf3
builder/vmware: set proper default disk type for esx
2013-11-07 20:57:05 -08:00
Mitchell Hashimoto
148d7c06ab
builder/vmware: make upload dst,src like normal go
2013-11-07 20:47:15 -08:00
Mitchell Hashimoto
2c8843b4de
builder/vmware: esx file check works properly
2013-11-07 20:46:34 -08:00
Mitchell Hashimoto
8a8ac430d1
builder/vmware: upload the ISO to the ESXi machine
2013-11-07 12:28:41 -08:00
Mitchell Hashimoto
483cda18c1
builder/vmware: make things more Go-like
...
This commit currently breaks the builder though, since the ISo is now
uploaded back into ESX.
2013-11-07 12:01:18 -08:00
Doug MacEachern
a828a9a064
builder/vmware: new driver to support building images directly on ESX
...
This driver talks directly to ESX over ssh, using vim-cmd, esxcli and sh;
no vCenter or VIM api required.
Remote* config properties added to support a remote driver
RemoteDriver interface extends Driver:
* SSHAddress - esx flavor uses esxcli to find the VM's ip address
* Download - esx flavor downloads iso files to a vmfs datastore
Driver can optionally implement the following interfaces:
* VNCAddressFinder - esx flavor needs to check remote ports
* OutputDir - esx driver needs a local and remote OutputDir
* Inventory - esx driver needs to register/unregister VMs
* HostIPFinder - esx flavor needs an address on the same network as esx itself
2013-11-07 12:01:18 -08:00
Mitchell Hashimoto
636e647c45
builder/qemu: set proper HTTPIP for boot command [GH-597]
2013-11-05 22:05:56 -08:00