Commit Graph

6216 Commits

Author SHA1 Message Date
Jeremy Asher 1c392b23f9 generate warnings for unused options with from_scratch 2016-09-03 12:32:43 -07:00
Jeremy Asher ef0c7543e1 add amazon-chroot post mount commands
This adds an additional PostMountCommands step to the amazon-chroot
builder which executes after the volume is mounted, but before the
extra chroot mounts and copy step.
2016-09-03 12:32:41 -07:00
Jeremy Asher 5e8b697a76 add from_scratch option to amazon-chroot builder
This provides an alternate mode for the amazon-chroot builder which uses
a blank volume to build the image.  It adds StepPreMountCommands to
permit partitioning and format commands to be executed before mounting
the new volume.
2016-09-03 12:28:22 -07:00
Jeremy Asher 85ae04bb75 split up BlockDevices in amazon/common
This breaks up the two options provided by BlockDevices into separate
structs to allow only one of them to be used by the amazon-chroot
builder.
2016-09-03 09:58:45 -07:00
Rickard von Essen 4214464065 Merge pull request #3851 from andyfeller/ansible-redhat-sftp-limitation-documentation
Updated ansible provisioner documentation to cite situation encounter…
2016-09-02 22:55:14 +02:00
Rickard von Essen 28a913025c Updated CHANGELOG.md 2016-09-02 22:53:52 +02:00
Rickard von Essen 227c6ad6e2 Merge pull request #3848 from spuder/patch-3
Installs 64bit chef on windows if available
2016-09-02 22:51:59 +02:00
Andy Feller 71e43abef6 Updated ansible provisioner documentation to cite situation encountered by Redhat family around sftp_command 2016-09-02 07:45:16 -04:00
Spencer Owen 9963bfcd42 removes unneeded white space 2016-09-01 13:39:44 -06:00
Spencer Owen 7fdd303641 Installs 64bit chef on windows if available
Resolves #3847

- Changes linux install url to new omnitruck.chef.io url. 
- Changes powershell install to use omnitruck url instead of hard coded to 32bit msi install.
2016-09-01 13:23:08 -06:00
Rickard von Essen 405f93be9c Updated CHANGELOG.md 2016-09-01 20:56:19 +02:00
Rickard von Essen 16158622fe Merge pull request #3836 from mahcsig/3833-incorrect-ssh-port
Issue 3833 - fix for port error in PR 3347
2016-09-01 20:52:56 +02:00
Rickard von Essen d1e38052f7 Merge pull request #3350 from JoakimLofgren/add-support-for-ansible-galaxy
Add support for ansible-galaxy
2016-09-01 20:51:17 +02:00
Joakim Löfgren eee54d48f3 Add documentation for galaxy_file 2016-09-01 13:51:14 +02:00
Rickard von Essen 2b1808d4fd
Capitalize documentation index correctly 2016-08-30 19:53:23 +02:00
Rickard von Essen d8e67a0b6f
Added file builder documentation. 2016-08-30 19:51:49 +02:00
Billie H. Cleek c3a57ca232 set ansible_env_vars correctly 2016-08-29 00:44:26 -07:00
Rickard von Essen 1270cfb863 Updated CHANGELOG.md 2016-08-27 03:20:10 +02:00
Rickard von Essen ba629922c6 Merge pull request #3662 from ryansb/boost-spot-bid
(AWS Spot) Add 0.5 cents to discovered spot price
2016-08-27 03:18:59 +02:00
Rickard von Essen e5c12bde5c Updated CHANGELOG.md 2016-08-27 03:16:36 +02:00
Ingo Gottwald 0c1051a017 GCE builder: Switch to google.DefaultClient (#3655)
* GCE builder: Switch to google.DefaultClient

This enables authentication through an authenticated gcloud tool.

* GCE builder: Add docs about auth mech precedence
2016-08-27 03:12:55 +02:00
Marc Siegfriedt c1e129848c 3833 - fix for port in MR3347 2016-08-26 20:58:04 +00:00
Rickard von Essen 683cb121db Updated CHANGELOG.md 2016-08-25 09:20:09 +02:00
Krzysztof Wilczynski d01fb65dcf Fix. Use temporary_key_pair_name when specified. (#3739)
Fix: Use temporary_key_pair_name when specified.

This is to fix an issue where the temporary_key_pair_name configuration option
for amazon-ebs and amazon-instance builders would be ignored and replaced with
an automatically generated value using UUID, even when the option was explicitly
specified.

Remove space from the auto-generated SSH key-pair name.

Resolves #3736
2016-08-25 09:17:57 +02:00
Rickard von Essen 5184d0ae0f Clearified how to specify version when reporting issues 2016-08-25 08:46:42 +02:00
Rickard von Essen 2562a0432e Updated CHANGELOG.md 2016-08-24 20:03:51 +02:00
Billie Cleek 023f2edde8 add better logging and error handling to ansible provisioner (#3477) 2016-08-24 19:53:39 +02:00
Christopher Boumenot b7da7768df Merge pull request #3812 from ritasker/azure-setup-script
Changes How Azure AD Apps are Created
2016-08-24 10:06:50 -07:00
Lamoni Finlayson d02b106a16 Fix for issue #2972 - Implemented ssh_host for virtualbox builders (#3617) 2016-08-24 18:30:26 +02:00
Rich d36f79ac44 Changes How Azure AD Apps are Created
- Adds the required fields to `azure ad sp create` command.
- Also stores the object and client Ids.
- Removes the createApplication method and call.
- echos out the parameters in a JSON object style.
2016-08-24 11:59:21 +01:00
Joseph Heck 27cdd4480a detail on connecting to build VM for debugging (#3797)
* detail on connecting to build VM for debugging

 - resolves #485, mostly my own confusion about how to connect to a
   locally built machine being created by packer while using -debug
   functionality.

* fixing name of preseed file typo
2016-08-24 09:12:22 +02:00
Hal Deadman 6f8ec8bd63 fix docs to match code for puppet-server provisioner staging_dir (#3604) 2016-08-24 00:04:00 +02:00
Royce Remer faa971291d document optional amazon-ebs virt type behavior 2016-08-24 00:02:17 +02:00
Huy Nguyen 5e1aa22dc7 IAM permission needed to deregister failed images (#3796) 2016-08-23 23:55:01 +02:00
www.elconas.de e6c590ace4 Fix IAM Policy to avoid 'Error enabling Enhanced Networking on xxxxxxx: UnauthorizedOperation: You are not authorized to perform this operation' (#3696) 2016-08-23 23:54:42 +02:00
Luke Farnell a2ad2d2d93 providing documentation for solving issue #3586 (#3702)
* providing documentation for solving issue #3586

* fixed docs to include the env var needing to be set

* typo for env var
2016-08-23 23:53:56 +02:00
Steven Samuel Cole e88c1542e5 extend export_opts documentation, add sample code (#3746) 2016-08-23 23:51:34 +02:00
Steven Samuel Cole dfae68dc6b extend export_opts documentation, add sample code (#3745) 2016-08-23 23:51:15 +02:00
Alvaro Miranda Aguilera fdbf15be9f Uppercase note 2016-08-23 19:03:37 +02:00
Paul Stack 5353cda7a2 Merge pull request #3819 from sourabhpawar/patch-1
Note added: Command line var on Windows
2016-08-23 18:03:00 +01:00
Alvaro Miranda Aguilera e65401cbf6 add note for packer-* binaries 2016-08-23 18:58:20 +02:00
Alvaro Miranda Aguilera 2101b6a2ff Update documentation to single binary 2016-08-23 18:52:26 +02:00
Christopher Boumenot 0e1e737229 Merge pull request #3803 from ritasker/add-location
Adds Location to the Azure Setup Script
2016-08-23 09:28:03 -07:00
Paul Stack 0691ee1c5f Merge pull request #3821 from blindroot/master
Update example AWS policy document
2016-08-22 18:36:02 +01:00
mieciu 23296988b8 Update example AWS policy document 2016-08-22 17:06:20 +02:00
Sourabh Pawar 07e6509bc4 Removed additional whitespace
Removed additional whitespace
2016-08-21 15:07:22 -04:00
Sourabh Pawar 103a8a9223 Note for executing the first build on Windows
The first packer build command includes passing AWS access key and secret key as variables. On Windows, the single quotes must be replaced with double quotes or an AWS error occurs. This may not be obvious to everyone, hence a note. The AWS error (as below) is not adequately self-explanatory. 

Build 'amazon-ebs' errored: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
        For verbose messaging see aws.Config.CredentialsChainVerboseErrors
2016-08-21 15:04:05 -04:00
Rickard von Essen 6cd7ad82bb Fixed dupliceted test 2016-08-19 14:34:24 +02:00
Rickard von Essen a399a5ff10 Updated CHANGELOG.md 2016-08-19 13:36:01 +02:00
Rickard von Essen 3e1aed9a6f Enable to disable vnc password for VMware builder 2016-08-19 13:26:23 +02:00