Commit Graph

1065 Commits

Author SHA1 Message Date
Mitchell Hashimoto d925331902 fmt 2014-05-10 10:19:35 -07:00
Mitchell Hashimoto ad72c5a4bb builder/vmware/common: more tests 2014-05-10 10:19:14 -07:00
Mitchell Hashimoto 7e991af48e builder/vmware/common: tests for StepPrepareTools
/cc @rasa - an example
2014-05-10 10:16:53 -07:00
Mitchell Hashimoto 1b1d87128c Merge pull request #1154 from rasa/765-add-tools-upload-flavor-support-in-vmware-vmx
builder/vmware-vmx: Added tools_upload_flavor support
2014-05-10 10:07:34 -07:00
Ross Smith II 779c7184a2 go fmt 2014-05-09 21:12:14 -07:00
Mitchell Hashimoto e9727df15e Merge pull request #1146 from higebu/fix-esxi-driver-iso-upload-path
Fixes #1062, ESXi Driver supports PACKER_CACHE_DIR
2014-05-09 19:56:28 -07:00
Ross Smith II ba13239672 builder/vmware-vmx: Added tools_upload_flavor support 2014-05-09 17:24:19 -07:00
Ross Smith II bdfac49410 builder/vmware: added vmx_data_post option 2014-05-09 09:25:15 -07:00
Yuya Kusakabe 6dc858e6cf Fixes #1062, ESXi Driver supports PACKER_CACHE_DIR 2014-05-09 13:16:18 +09:00
Jaime Soriano Pastor 32bb745734 Force LANG=C before appending rest of environment, as only first occurence is used 2014-05-08 17:11:19 +02:00
Mitchell Hashimoto 0b63f4f9dc Merge pull request #1132 from rasa/1123-use-local-vboxguestadditions-iso
virtualbox: use local VBoxGuestAdditions.iso by default
2014-05-06 18:54:13 -07:00
Ross Smith II bea167a48e builder/vmware-vmx: add floppy_files support
fixes #1057
2014-05-06 17:20:26 -07:00
Ross Smith II 58fd5aec61 virtualbox: use local VBoxGuestAdditions.iso by default
fixes #1123
2014-05-06 16:15:55 -07:00
Mitchell Hashimoto d8d22299ce Merge pull request #1127 from jakobadam/master
builder/parallels: Fix http_files typo in comments
2014-05-06 08:31:22 -07:00
Jakob A. Dam 40150c376d Fix http_files typo in comments 2014-05-06 17:13:15 +02:00
Pierre Riteau 2ee90b29c3 Allow OpenStack builder to skip certificate verification 2014-05-06 12:26:05 +01:00
Rickard von Essen 83cf8b23a1 Merge pull request #1120 from rickard-von-essen/vbox-ovf_guest_add
virtualbox-ovf support for guest_additions_mode
2014-05-04 22:58:04 +02:00
Ross Smith II a8a583a80c Merge pull request #1116 from higebu/fix-remote-esxi-builder-doesnt-upload-floppy
Fixes #1106, Remote ESXi builder doesn't upload floppy
2014-05-04 10:57:22 -07:00
Rickard von Essen c2013bf680 virtualbox-ovf support for guest_additions_mode
Fixes #1035 "virtualbox-ovf" builder doesn't support "guest_additions_mode" option
2014-05-04 18:48:41 +02:00
Mikhail Zholobov 57e8f8e15b builder/parallels: Fixed unit test [GH-1115] 2014-05-03 14:50:30 +04:00
Yuya Kusakabe 5cac40b47c Fixes #1106, Remote ESXi builder doesn't upload floppy 2014-05-03 18:41:00 +09:00
Mikhail Zholobov dbe40b9f55 builder/parallels: Do not delete the first cdrom device
Just detach the iso from 'cdrom0', but do not delete this device from VM confguration.
2014-05-03 11:11:10 +04:00
Mitchell Hashimoto 97115821ac Merge pull request #1111 from njhartwell/master
builder/amazon/chroot: Appending wildcard to src causes problems
2014-05-02 09:47:46 -07:00
Nathan Hartwell be5adb92b5 Appending wildcard to src causes problems
It appears that the desired effect was to support
    src = "dir" -> dest/dir
    src = "dir/" -> dest

but cp -R already handles this, provided the trailing slash does not
get consumed by the shell.

The wildcard causes problems when multiple files match the
shell glob, e.g.

UploadDir("/tmp", "./salt*", [])

where my working dir contains
 - salt
 - salt-foo

will error.
2014-05-02 11:18:56 -05:00
Yuya Kusakabe 7ff781b258 Revert the way to retrieve vm ip in VMware ESXi Driver 2014-05-03 00:25:58 +09:00
Mitchell Hashimoto b4729ca7aa Merge pull request #848 from nebula/securityGroups
Support for Security Groups in Openstack
2014-05-01 20:24:42 -07:00
Mitchell Hashimoto 5c5d62733f fmt 2014-05-01 14:24:19 -07:00
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