Commit Graph

1022 Commits

Author SHA1 Message Date
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