Commit Graph

3876 Commits

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

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
Mitchell Hashimoto e1e54646f0 Merge pull request #1633 from BlackIkeEagle/fix-clean-build-from-source
Fix make updatedeps
2014-10-28 12:33:53 -07:00
BlackEagle 22ef1dfd89 Fix make updatedeps
Since the fork mitchellh/gophercloud-fork-40444fb is used for
gophercloud the folder rackspace/gophercloud does not exist and the
version fix does not have to happen.

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
2014-10-28 20:25:26 +01:00
Mitchell Hashimoto 0173823b4f update CHANGELOG 2014-10-28 10:39:13 -07:00
Mitchell Hashimoto 26bc806251 Merge branch '0-8-0' 2014-10-28 10:38:52 -07:00
Mitchell Hashimoto 5bfc036e55 website:update version 2014-10-28 10:32:58 -07:00
Mitchell Hashimoto b291dae3d5 website: try to update the Ruby 2014-10-28 10:28:17 -07:00
Mitchell Hashimoto 5da5bbad00 website: update Gemfile 2014-10-28 10:25:11 -07:00
Mitchell Hashimoto 4c7538dad8 v0.7.2 2014-10-28 09:45:13 -07:00
Mitchell Hashimoto 06144cf287 fmt 2014-10-28 08:43:19 -07:00
Mitchell Hashimoto 98a52c296c Merge pull request #1597 from petrhosek/enable-custom-vagrant-providers
Extract Vagrant provider processing logic to a method
2014-10-28 08:43:12 -07:00
Mitchell Hashimoto af4ff24090 Update CHANGELOG 2014-10-28 08:42:44 -07:00