1436 Commits

Author SHA1 Message Date
Matt Fellows
a973dce7d3 Report error code during Temporary Security Group creation (#2021) 2015-04-07 12:11:34 +10:00
Brian Hourigan
a4cfd921f4 Adding missing hyphen to sudo options 2015-04-04 10:52:17 -04:00
Nevins Bartolomeo
6686b62347 AWS availability zone could be incorrect when using spot instances with no AZ specified 2015-04-03 20:52:54 -04:00
Georg Großberger
8c0169b1c4 Make the Vmware build extract the host IP properly from ifconfig stdout 2015-03-25 14:45:15 +01:00
Donald Guy
a7206aebd7 builder/docker: attempt to satisfy travis for #1993 2015-03-20 12:50:03 -04:00
Donald Guy
df7623d9d8 builder/docker: Run scripts /w exec if -v > 1.4 2015-03-20 12:07:43 -04:00
Marc O'Morain
9b2d219cab MAC address can be upper or lower case 2015-03-18 16:40:05 +00:00
Mojo Talantikite
d174ffe1fa Fix digitalocean provider for private images [fixes mitchellh/packer#1792] 2015-03-12 19:01:51 -04:00
renat-sabitov-sirca
d046e1cc5b Fixing transient AWS errors during EBS builds
Relates to #1539

AWS is eventually consistent and instance can be not visibile for
some time after creation. This fix eliminates describe-instances
call before going to the proper wait loop
2015-03-11 10:34:21 +11:00
Andrew Beresford
a81c8905fb Add 1/10th second delay between key events to VNC 2015-03-09 13:58:46 +00:00
Emil Hessman
57468b3d1a builder/vmware/iso: fix incorrect printf verb type in test
Fixes the following vet report:

builder/vmware/iso/builder_test.go:178: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:18 +01:00
Emil Hessman
fdb64f6f25 builder/vmware/common: fix missing format argument for Fatalf call in test
Fixes the following vet report:

builder/vmware/common/step_shutdown_test.go:130: missing argument for Fatalf("%s"): format reads arg 1, have only 0 args
2015-02-25 05:43:17 +01:00
Emil Hessman
96b62af551 builder/virtualbox/iso: fix incorrect printf verb type
Fixes the following vet report:

builder/virtualbox/iso/builder_test.go:86: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:17 +01:00
Emil Hessman
cceb4b2868 builder/qemu: fix incorrect printf verb type
Fixes the following vet report:

builder/qemu/builder_test.go:163: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:17 +01:00
Emil Hessman
b19f9b9777 builder/parallels/iso: fix incorrect printf verb type
Fixes the following vet report:

builder/parallels/iso/builder_test.go:78: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:17 +01:00
Emil Hessman
f5782084e5 builder/openstack: address vet reports
Fixes the following vet reports:

builder/openstack/artifact.go:44: arg a.ImageId for printf verb %d of wrong type: string
builder/openstack/step_wait_for_rackconnect.go:24: arg server for printf verb %s of wrong type: *github.com/mitchellh/gophercloud-fork-40444fb.Server
2015-02-25 05:42:19 +01:00
Emil Hessman
002e50f493 builder/googlecompute: fix formatting directives
Fixes the following vet reports:

builder/googlecompute/step_create_instance_test.go:42: possible formatting directive in Fatal call
builder/googlecompute/step_teardown_instance_test.go:29: possible formatting directive in Fatal call
builder/googlecompute/step_teardown_instance_test.go:39: possible formatting directive in Fatal call
2015-02-25 05:29:53 +01:00
Emil Hessman
413b84af6b builder/digitalocean: fix incorrect printf verb types
Fixes the following vet reports:

builder/digitalocean/builder_test.go:267: arg b.config.SSHUsername for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:300: arg b.config.RawSSHTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:341: arg b.config.RawStateTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:382: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
builder/digitalocean/builder_test.go:397: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
2015-02-25 05:29:53 +01:00
Emil Hessman
505f51ff27 builder/amazon/ebs: fix incorrect printf verb type
Fixes the following vet report:

builder/amazon/ebs/step_create_ami.go:90: arg resp.Return for printf verb %s of wrong type: bool
2015-02-25 05:29:53 +01:00
Emil Hessman
05c2206684 builder/amazon/common: fix incorrect printf verb type in amiRegionCopy
Fixes the following vet reports:

builder/amazon/common/step_ami_region_copy.go:81: arg target for printf verb %s of wrong type: github.com/mitchellh/goamz/aws.Region
builder/amazon/common/step_ami_region_copy.go:93: arg target for printf verb %s of wrong type: github.com/mitchellh/goamz/aws.Region
2015-02-25 05:29:53 +01:00
Seth Vargo
c338d313db Merge pull request #1925 from tdooner/add_rackconnect_support
Add Rackconnect support to openstack builder
2015-02-24 20:02:26 -05:00
Seth Vargo
500654714c Merge pull request #1932 from bhourigan/issue1931
ec2-upload-bundle uses deprecated parameter
2015-02-24 19:54:33 -05:00
Seth Vargo
4f22fd25f5 Merge pull request #1875 from ryanuber/f-dofix
builder/digitalocean: fix response decoding after api changes
2015-02-24 17:01:23 -05:00
Brian Hourigan
f40fd36c31 Changing --region to --location 2015-02-19 14:40:36 -05:00
Brian Hourigan
8e69403735 Prepending -i to sudo so PATH is inherited from profile.d scripts related to ec2 tooling 2015-02-19 14:32:27 -05:00
Tom Dooner
6e92e60eef Add Rackconnect support
This adds two config options that we need in order to successfully build
our Rackspace images.

First, a boolean `rackconnect_wait` option which waits for the
RackConnect metadata to appear.

Second, an `ssh_interface` option, for rackconnect users who have more
prohibitive firewalls on the 'public' interface and want to ensure all
traffic to the server goes over the 'private' one.

Finishes #952.
2015-02-17 05:23:21 +00:00
Jen Spinney
40fdb15d03 Support user variables for all OpenStack string config options 2015-01-30 18:02:59 -08:00
Ryan Uber
78d6dda005 builder/digitalocean: fix response decoding after api changes 2015-01-26 13:19:46 -08:00
Danny Lockard
7d1b95c907 Formatting fix :) 2015-01-16 10:34:12 -06:00
Danny Lockard
84d6d856f6 Add the ability to create a SCSI Device as the main HD controller for
virtualbox.
2015-01-15 19:53:01 -06:00
Sebastian Röder
555b89567f s/VirtualBox/VMware in comment 2015-01-13 22:43:24 +01:00
Rickard von Essen
4a0c242c3f Merge pull request #1760 from rickard-von-essen/issue-1746
builder/parallels: Use most recent DHCP lease when determining IP.
2015-01-07 11:27:27 +01:00
Rickard von Essen
d424ed1e37 builder/parallels: Use most recent DHCP lease when determening IP.
Fixes #1746. Problem establishing SSH connection with Fedora 21 and
Parallels
2014-12-28 22:22:16 +01:00
Godefroid Chapelle
f52283d78e all calls to cp should be escaped 2014-12-22 12:58:41 +01:00
Godefroid Chapelle
ff0772d479 Merge remote-tracking branch 'origin' into patch-1 2014-12-22 12:45:50 +01:00
Ross Smith II
10dee1bd68 Temporarily fix build by forking golang.org/x/oauth2 @ b3f9a68 2014-12-21 11:22:24 -08:00
Ryan Uber
010c77d05f builder/digitalocean: default to nyc3 2014-12-10 00:26:56 -08:00
Mitchell Hashimoto
2dfc5d3e71 builder/amazon: inject special metadata for atlas artifacts 2014-12-09 16:14:04 -08:00
Eric Johnson
24a774f0d3 Merge pull request #1737 from dcarlino/failfast_gce
Check if image already exists before doing anything else on GCE.
2014-12-09 12:10:05 -08:00
Dustin Carlino
fe47f45800 Remove bucket_name from GCE config.
Fixes #1732. Forgot to do this in 23c947acf049b734c03ff3e24530f0310475b1a5.
2014-12-09 08:44:01 -08:00
Dustin Carlino
7c67228912 Check if image already exists before doing anything else on GCE.
This fixes #1729.
2014-12-09 08:42:34 -08:00
Armon Dadgar
20d040dcba Merge pull request #1723 from irgeek/fix-1637
Use an index loop as range loops over copies, not references
2014-12-08 11:43:30 -08:00
Armon Dadgar
44602df62f Merge pull request #1675 from cgroschupp/bugfix_vmx_upload
Upload VMX to ESX5 after editing
2014-12-08 11:41:46 -08:00
Armon Dadgar
2dace054bf Merge pull request #1707 from gergnz/master
change ordering of ssh connection IP for amazon. fixes #1559
2014-12-08 11:17:09 -08:00
Armon Dadgar
dd5de1e342 Merge pull request #1692 from nitrous-io/digitalocean-image-id
Use DigitalOcean image ID for artifact Id()
2014-12-08 11:16:08 -08:00
Armon Dadgar
183d4a8474 Merge pull request #1700 from legal90/iss-1667
Parallels: Fixed issue #1667
2014-12-08 11:13:44 -08:00
Godefroid Chapelle
5a892560c3 Merge remote-tracking branch 'origin/master' into patch-1 2014-12-06 00:49:50 +01:00
James Sinclair
02ebef9031 Use an index loop as range loops over copies, not references
Fixes #1637
2014-12-05 17:27:00 +11:00
Godefroid Chapelle
955122f2e1 Be more explicit about escaping alias 2014-12-02 15:07:29 +01:00
Godefroid Chapelle
075abfeeae Escapes cp alias
Fix for #1656
2014-12-02 14:58:13 +01:00