3887 Commits

Author SHA1 Message Date
Eric Johnson
e7f274325e Merge pull request #1706 from rsdy/master
fix googlecompute oauth dependency
2014-12-03 06:29:52 -08: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
Greg Cockburn
dbaf865e59 change ordering of ssh connection IP for amazon. fixes #1559 2014-12-01 10:44:52 +11:00
rhapsodhy
dd547af0c4 fix googlecompute oauth dependency 2014-11-30 04:15:44 +00:00
Seth Vargo
e5c0bf14df Merge pull request #1698 from jmassara/chef_client_prevent_sudo
Use sudo only if prevent_sudo is not set
2014-11-27 11:05:31 -05:00
James Massara
d5f49777e9 Merging upstream changes 2014-11-27 06:35:06 -08:00
James Massara
1837c7189a Added tests for prevent_sudo 2014-11-27 06:24:54 -08:00
James Massara
a5ca2e5a27 Use sudo only if prevent_sudo is not set 2014-11-27 06:24:54 -08:00
Mikhail Zholobov
a5b21c59ba builder/parallels: Move setting the boot order to the separated step 2014-11-27 17:13:50 +03:00
Mikhail Zholobov
05affceaef builder/parallels: Attach bootable ISO exactly to cdrom0 [GH-1667] 2014-11-27 17:11:16 +03:00
James Massara
c6db28d511 Added tests for prevent_sudo 2014-11-26 15:13:09 -08:00
Seth Vargo
347f02a7f2 Merge pull request #1402 from jasonberanek/858-issue
fix build name ConfigTemplate processing [GH-858]
2014-11-26 16:30:36 -05:00
Seth Vargo
0eb634ae6a Merge pull request #1525 from scott2449/master
Add default nodename for chef-client
2014-11-26 16:29:22 -05:00
Seth Vargo
1954cc9758 Merge pull request #1628 from israelshirk/hotfix/docker-communicator-symlink
Fixes Docker communicator mishandling of symlinks in UploadDir()
2014-11-26 16:28:41 -05:00
Seth Vargo
96c813684e Merge pull request #1645 from vtolstov/qemu_disk
Allow none checksumtype for qemu builder
2014-11-26 16:28:19 -05:00
Seth Vargo
a60039e720 Merge pull request #1650 from vtolstov/digitalocean
fix digitalocean v2 api content-type when using json
2014-11-26 16:25:19 -05:00
Seth Vargo
31a1aa48b4 Merge pull request #1662 from vtolstov/disk_image
When using disk_image CD-ROM not needed
2014-11-26 16:10:47 -05:00
Seth Vargo
1906c71f2c Merge pull request #1672 from ryanbreed/patch-1
Use consistent escaping for ovftool uri creds
2014-11-26 16:08:56 -05:00
Eric Johnson
d3cd88f172 Merge pull request #1693 from dcarlino/gce_create_image
Create GCE image from persistent disk instead of from a tarball.
2014-11-26 10:32:47 -08:00
Dustin Carlino
23c947acf0 Create GCE image from persistent disk instead of from a tarball.
The new flow:
1) Provision the instance
2) Tear down the instance, but keep the boot disk
3) Create an image from the disk
4) Tear down the disk

The step to update gcloud is no longer needed, since gceimagebundle isn't used anymore.
Fixes #1507 and addresses https://github.com/mitchellh/packer/issues/1447#issuecomment-61610235.
2014-11-25 17:07:06 -08:00
Emil Hessman
53b1db1669 post-processor/vagrant: check if vagrantfile_template exists
Fixes #801
2014-11-25 13:02:32 +01:00
Emil Hessman
a65dc929f2 post-processor/vagrant: test if vagrantfile_template exists
Test for #801
2014-11-25 12:41:24 +01:00
Emil Hessman
3a8e02110e post-processor/vagrant: process templates in Configure 2014-11-25 07:04:17 +01:00
Emil Hessman
1de1350ee2 post-processor/vagrant: test for user variables in vagrantfile_template [GH-1125]
Previously fixed in a47610879fcd5e2871b3e088e40d368a2915455f

Closes #1125
2014-11-24 23:45:49 +01:00
Eric Johnson
87001dba60 Merge pull request #1679 from evandbrown/gce-service-accounts
Use golang/oauth2, no longer require client_secrets.json, and use
2014-11-24 05:43:11 -08:00
Cheah Chu Yeow
3d6865fafc builder/digitalocean: use DigitalOcean image ID for artifact Id(). 2014-11-24 08:14:05 +00:00
Evan Brown
ff149df30f Use golang/oauth2, no longer require client_secrets.json, and use
Service Account when run from a GCE Instance.
2014-11-21 12:45:27 -08:00
Eric Johnson
289fdc62a4 Merge pull request #1676 from mbrukman/gce-ubuntu
Added the Ubuntu image project for GCE.
2014-11-18 05:18:07 -08:00
Misha Brukman
74e1be7469 Added the Ubuntu image project for GCE.
The documentation:
https://cloud.google.com/compute/docs/operating-systems#ubuntu
shows that `ubuntu-os-cloud` is the proper project name.
2014-11-17 23:00:52 -05:00
Christian Groschupp
e9246ec490 builder/vmware/iso: Upload VMX to ESX5 after editing [GH-1422,GH-1083] 2014-11-16 19:48:02 +01:00
Ryan Breed
514b5f52f1 consistent escaping for ovftool uri creds
I got thrown for a loop since the username is uri-escaped but the password was not.

I got thrown for another couple of loops due to the multiple levels of interpretation involved:
1) JSON syntax requires backslashes to be slash-escaped. Some vCenter deployments use windows domain-style usernames DOMAIN\user
2) the OVFTOOL docs specify that "all special characters" be uri-encoded when part of the user name or password
3) different shell interpretations on windows/linux

I'd say escape both or neither.
2014-11-12 23:03:14 -06:00
Israel Shirk
d4080244b0 Resolves issue where docker communicator mishandled symlinks by treating them as files 2014-11-12 14:22:48 -07:00
Vasiliy Tolstov
1e87e796dc fix using private ip address in digitalocean builder
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-12 22:57:29 +03:00
Jack Pearkes
ec216a52ef website: inherit font scheme 2014-11-07 10:18:44 -08:00
Vasiliy Tolstov
2126615b3d disk_filename is used for artifacts, but it missed in case of disk_image = true
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-06 23:47:00 +03:00
Vasiliy Tolstov
16110c6be6 add CD-ROM only if not used disk_image, also boot from it only if CD-ROM present
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-06 23:13:09 +03:00
Jack Pearkes
658e6e094b website: fix SSL on downloads page 2014-11-05 08:19:39 -08:00
James Massara
0bff983d24 Use sudo only if prevent_sudo is not set 2014-11-03 19:15:58 -08:00
Vasiliy Tolstov
80eb4c2798 Merge branch 'master' of github.com:vtolstov/packer into digitalocean 2014-11-02 18:54:13 +03:00
Vasiliy Tolstov
f9c3f5760c Merge branch 'master' of github.com:vtolstov/packer into digitalocean 2014-11-02 18:51:11 +03:00
Vasiliy Tolstov
8af85df822 add error code for failed auth
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-02 18:47:11 +03:00
Vasiliy Tolstov
a5dc41a730 fix digitalocean v2 api content-type when using json
In case of using json we need to set content-type header.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-02 01:47:04 +03:00
Vasiliy Tolstov
4762075dc3 add missing variable
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-31 16:15:23 +03:00
Vasiliy Tolstov
5631873727 allow none checksumtype for qemu builder (copy/paste from virtualbox)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-31 16:07:04 +03:00
Mitchell Hashimoto
a5592964cb Merge pull request #1640 from vtolstov/master
builder/digitalocean: fix v2 api size
2014-10-30 14:21:26 -07:00
Vasiliy Tolstov
e5ea82f920 fix digitalocean v2 api size response
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-30 22:16:21 +03:00
Mitchell Hashimoto
399837b048 Merge pull request #1634 from whiteley/checksums-link
Fix checksums link
2014-10-28 15:12:14 -07:00
Matt Whiteley
8ad7d9b194 Fix checksums link 2014-10-28 15:10:16 -07:00
Mitchell Hashimoto
7e4dfcd283 Cleanup updatedeps more 2014-10-28 12:37:11 -07:00