Commit Graph

1709 Commits

Author SHA1 Message Date
Rickard von Essen 8257c2dabd Merge pull request #4172 from rickard-von-essen/default-ssh-user
ssh: Remove ssh_username default values
2016-11-17 22:40:09 +01:00
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username 2016-11-17 22:30:34 +01:00
jasminSPC 68ca7490bb Removed default value for ssh_username 2016-11-17 21:15:28 +01:00
Chris Bednarski 79f748ef73 Merge pull request #4156 from friism/patch-1
fix markdown
2016-11-16 17:23:17 -08:00
Matthew Hooker 7443e21992
fix broken link in docs 2016-11-16 12:39:23 -08:00
Arthur Burkart 2e65867cba Closes #3908: Adds snapshot tag overrides
This commit adds the ability to configure unique tags on snapshots
that are separate from the tags defined on the AMI. Anything applied
to the AMI will also be applied to the snapshots, but `snapshot_tags`
will override and append tags to the tags already applied to the snapshots
2016-11-15 23:16:27 -05:00
jasminSPC 484960c9d1 Fixes #4169 2016-11-16 00:17:30 +01:00
Peter Schultz 54aa830943 builder/googlecompute: split docs for source_image and source_image_family
Also update the example values to currently non-deprecated images.
2016-11-14 13:06:43 +01:00
jasminSPC dc231f9600 PR remarks 2016-11-13 23:54:55 +01:00
jasminSPC 4bcba37f38 Packer Builder 1&1 2016-11-13 23:34:36 +01:00
Peter Schultz bcb319640e builder/googlecompute: support source image family
Closes #4100
2016-11-13 16:54:04 +01:00
Jasper Siepkes 200aa74e78 Added support for passing arguments to salt-call. 2016-11-11 15:15:16 +01:00
Michael Friis 45188f2f2c fix markdown 2016-11-10 18:40:50 -08:00
Matthew Hooker 042f4b7bfb
fix documentation wrt command line variables. 2016-11-09 16:05:52 -08:00
Matthew Hooker 1cf9dbf27d
fix json 2016-11-09 11:20:06 -08:00
Rickard von Essen 233913bc38 Fixed misspelling of semantics 2016-11-05 13:57:57 +01:00
Matthew Hooker 3d69af1247 sort/uniq IAM policies 2016-11-03 11:49:50 -07:00
Matthew Hooker ac8e70ade0 Revert "Remove duplicate permission"
This reverts commit 78067ff949.
2016-11-03 11:48:55 -07:00
Matthew Hooker 8eab0ee5b2 Merge pull request #4109 from mitchellh/b-docs
builder/amazon: Fix doc of EBS Volume builder name
2016-11-03 10:29:57 -07:00
James Nugent 33c423529d builder/amazon: Fix doc of EBS Volume builder name
Various things still referred to `ebsinit` or `ebs-volume` - the
imported name was `amazon-ebsvolume`.
2016-11-03 11:59:02 -04:00
Amo Chumber 78067ff949 Remove duplicate permission
In the suggested policy `ec2:CopyImage` was listed twice.

I've also sorted alphabetically to make it easier for somebody who might be recreating the policy in the AWS gui to follow along more easily.
2016-11-03 14:41:12 +00:00
James Nugent b1ff8c3bfc builder/amazon: Add `ebs-volume` builder
This commit adds a builder that works like EBS builders, except does not
create an AMI, and instead is intended to create EBS volumes in an
initialized state. For example, the following template can be used to
create and export a set of 3 EBS Volumes in a ZFS zpool named `data` for
importing by instances running production systems:

```
{
	"variables": {
		"aws_access_key_id": "{{ env `AWS_ACCESS_KEY_ID` }}",
		"aws_secret_access_key": "{{ env `AWS_SECRET_ACCESS_KEY` }}",
		"region": "{{ env `AWS_REGION` }}",
		"source_ami": "{{ env `PACKER_SOURCE_AMI` }}",
		"vpc_id": "{{ env `PACKER_VPC_ID` }}",
		"subnet_id": "{{ env `PACKER_SUBNET_ID` }}"
	},
	"builders": [{
		"type": "amazon-ebs-volume",
		"access_key": "{{ user `aws_access_key_id` }}",
		"secret_key": "{{ user `aws_secret_access_key` }}",
		"region": "{{user `region`}}",
		"spot_price_auto_product": "Linux/UNIX (Amazon VPC)",

		"ssh_pty": true,
		"instance_type": "t2.medium",
		"vpc_id": "{{user `vpc_id` }}",
		"subnet_id": "{{user `subnet_id` }}",
		"associate_public_ip_address": true,
		"source_ami": "{{user `source_ami` }}",
		"ssh_username": "ubuntu",
		"ssh_timeout": "5m",

		"ebs_volumes": [
			{
				"device_name": "/dev/xvdf",
				"delete_on_termination": false,
				"volume_size": 10,
				"volume_type": "gp2",
				"tags": {
					"Name": "TeamCity-Data1",
					"zpool": "data",
					"Component": "TeamCity"
				}
			},
			{
				"device_name": "/dev/xvdg",
				"delete_on_termination": false,
				"volume_size": 10,
				"volume_type": "gp2",
				"tags": {
					"Name": "TeamCity-Data2",
					"zpool": "data",
					"Component": "TeamCity"
				}
			},
			{
				"device_name": "/dev/xvdh",
				"delete_on_termination": false,
				"volume_size": 10,
				"volume_type": "gp2",
				"tags": {
					"Name": "TeamCity-Data3",
					"zpool": "data",
					"Component": "TeamCity"
				}
			}
		]
	}],
	"provisioners": [
	{
		"type": "shell",
		"start_retry_timeout": "10m",
		"inline": [
			"DEBIAN_FRONTEND=noninteractive sudo apt-get update",
			"DEBIAN_FRONTEND=noninteractive sudo apt-get install -y zfs",
			"lsblk",
			"sudo parted /dev/xvdf --script mklabel GPT",
			"sudo parted /dev/xvdg --script mklabel GPT",
			"sudo parted /dev/xvdh --script mklabel GPT",
			"sudo zpool create -m none data raidz xvdf xvdg xvdh",
			"sudo zpool status",
			"sudo zpool export data",
			"sudo zpool status"
		]
	}
	]
}
```

StepModifyInstance and StepStopInstance are now shared between EBS and
EBS-Volume builders - move them into the AWS common directory and rename
them to indicate that they only apply to EBS-backed builders.
2016-11-02 12:56:39 -04:00
Matthew Hooker 970b37077e Merge pull request #4050 from jen20/ssh-agent
builder/amazon: Allow use of local SSH Agent
2016-11-01 17:27:37 -07:00
Matthew Hooker fcca905d40 Merge pull request #4085 from mitchellh/sethvargo/security
Add security page
2016-10-31 17:38:11 -07:00
Matthew Hooker 01be917450 Merge pull request #3660 from StackPointCloud/packer-builder-profitbricks
Packer Builder ProfitBricks
2016-10-31 15:45:24 -07:00
Matthew Hooker 93f0436766 Merge pull request #3909 from svanharmelen/f-cloudstack-builder
Add a CloudStack builder
2016-10-31 13:34:20 -07:00
Seth Vargo 5c3259b2d2
Add security page 2016-10-29 14:16:06 -04:00
Rickard von Essen 0e7eac7546 Merge pull request #4075 from artburkart/update-aws-chroot-docs
Updates root_volume_size documentation
2016-10-27 08:10:12 +02:00
Arthur Burkart 3eaa8a2dc3 Updates root_volume_size documentation
It didn't indicate its unit of size (GB), the default value was not
indicated, the fact that it ignores the user-given size when it is
smaller than the source AMI's snapshot size, and the fact that the
value is required when `from_scratch` is `true` all needed to be added.
2016-10-27 00:20:45 -04:00
Maxim Fedchyshyn 77efbe572d Fixed typo at chef-solo.html.md 2016-10-26 16:41:53 -07:00
Rickard von Essen d3e3889559 Merge pull request #4065 from ksatirli/patch-2
fixes identifier for launch_device_mappings
2016-10-26 21:05:51 +02:00
Rickard von Essen 574fb995b0 Merge pull request #4067 from jrnt30/website-updates
- Adding in links for new post-processors missing

(And removed some trailing spaces)
2016-10-26 20:44:44 +02:00
Rickard von Essen efb591323f Merge pull request #4064 from tylert/env-vars-doc-typo-fix
Improve clarity of environment vars doc PACKER_LOG setting
2016-10-26 20:42:27 +02:00
Tyler Tidman 5b25ba655b Match title capitalization of compress to other post-processors 2016-10-26 14:18:47 -04:00
Justin Nauman 38bf53ed84 - Adding in links for new post-processors missing 2016-10-26 12:27:07 -05:00
Kerim Satirli 723a4a1a53 fixes identifier for launch_device_mappings
Hi!

I believe the **Note** to reference an incorrect variable: `launch_device_mappings `; this should be `launch_block_device_mappings` as far as I can tell from the [code](https://github.com/mitchellh/packer/search?utf8=%E2%9C%93&q=launch_block_device_mappings).
2016-10-26 16:38:26 +02:00
Tyler Tidman e15a169831 Improve clarity of environment vars doc PACKER_LOG setting 2016-10-26 09:54:05 -04:00
Rickard von Essen d16d5d9686 Merge pull request #3817 from ChrisLundquist/dynamic-source-ami
Dynamic source ami
2016-10-25 21:24:41 +02:00
Jinesh Choksi 0f4d2341cb Packer v0.11.0 requires "ec2:DescribeSecurityGroups" permissions to work
Without the "ec2:DescribeSecurityGroups" permission, you would get the following error:

2016/10/25 16:03:28 ui: ==> aws: Creating temporary security group for this instance...
2016/10/25 16:03:28 packer.exe: 2016/10/25 16:03:28 Temporary group name: packer 580f7440-2135-068c-99b7-35595a7522d1
2016/10/25 16:03:28 ui: ==> aws: Authorizing access to port 22 the temporary security group...
2016/10/25 16:03:28 packer.exe: 2016/10/25 16:03:28 [DEBUG] Describing tempSecurityGroup to ensure it is available: sg-38e0355e
2016/10/25 16:03:29 packer.exe: 2016/10/25 16:03:29 [DEBUG] Error in querying security group UnauthorizedOperation: You are not authorized to perform this operation.
2016/10/25 16:03:29 packer.exe: 	status code: 403, request id: bc664eff-cc01-42c1-8408-23493c11d92d
2016-10-25 16:27:20 +01:00
James Nugent 395d88941c amazon: Allow SSH Agent auth for existing key pair
This commit allows SSH Agent authentication to be used with an existing
key pair defined in AWS.
2016-10-23 22:26:14 -05:00
James Nugent 7425fef2c7 builder/amazon: Allow use of local SSH Agent
This commit adds an option to use the local SSH Agent to authenticate
connections to source instances started by the the EBS and Instance
Store builders.

This is of use when the source AMI _already_ has configuration for
authorized SSH keys - for example if one uses an SSH certificate
authority.

A further extension (not implemented in this commit) is to allow SSH
agent use with a pre-defined key pair, in order to allow keys with
passphrases to be used without giving the passphrase to Packer.
2016-10-23 21:43:47 -05:00
Rickard von Essen 841f4d00b0 Merge pull request #4043 from minimum2scp/features/googlecompute/custom-scopes
googlecompute builder: support custom scopes
2016-10-22 21:14:49 +02:00
Rickard von Essen dd89aa7243
Formatted the default value and cleaned some trailing spaces. 2016-10-22 21:06:07 +02:00
Rickard von Essen 3b42d28cce Merge pull request #4014 from mexisme/feature/puppet-bin-dir
privisioner/puppet: Add `puppet_bin_dir` option.
2016-10-22 14:48:45 +02:00
YAMADA Tsuyoshi 283d3e5758 Updated document 2016-10-22 15:46:19 +09:00
Matthew Hooker 892d5e82c9 expect_disconnect option
provisioner/shell: Adds option to fail if the remote server disconnects
us.
2016-10-21 11:39:03 -07:00
Michael Vermaes bf17b4bd01 Add tools_upload_flavor/path to vmware-vmx docs 2016-10-21 18:19:08 +08:00
Matthew Hooker 9185066019 Merge pull request #4033 from mitchellh/4026-alt
4026 alt
2016-10-20 11:55:16 -07:00
Matthew Hooker fd324f4a97 use inconsolata monospace 2016-10-19 14:11:28 -07:00
7heo 4a4d529b33 Get rid of unnecessary `-E` flag for `sudo`
In the "Execute Command Example - Sudo Example", the used command is
defining environment variables prematurely, hence requiring the sudo
invocation to be made with the `-E` flag. However, this is not only
necessary but might have indesirable side effects, as the `-E` flag
forwards the whole environment to the subshell.
2016-10-19 16:47:16 +02:00
Lyle Mantooth bb2b66e869 Make <code> tags easier to read.
Increases the font-weight so that the light-green text on black
backgrounds stand out better, especially in inline code tags.
2016-10-19 09:15:47 -04:00
Arthur Burkart 4a00ffeea2 Closes #3999 - Support VirtualBox Trim/Discard
Adds a couple options to enable/disable the `--nonrotational` and
`--discard` flags during `VBoxManage storageattach` command execution
2016-10-17 08:52:28 -04:00
mexisme 050306b9d0 Update docs for puppet-masterless and puppet-server provisioners 2016-10-17 09:24:56 +13:00
Sander van Harmelen dbf3bf56d4 Add a CloudStack Builder 2016-10-16 15:29:18 +02:00
Rickard von Essen ecdf59b7b9
Slightly reworded docs for chroot_mounts in amazon-chroot builder
Closes #3081
2016-10-15 14:42:36 +02:00
Chris Lundquist e15c22797b Update amazon-instance.html.md 2016-10-14 11:53:40 -07:00
Chris Lundquist 7edc3f9857 Update amazon-ebs.html.md 2016-10-14 11:53:12 -07:00
Chris Lundquist 77a7728fd5 Update amazon-chroot.html.md 2016-10-14 11:51:19 -07:00
Matthew Hooker 516f403993 remove custom command documentation.
it was removed in #1629
2016-10-13 16:16:48 -07:00
Christopher Boumenot 249a943a1e azure: Allow user to override size of OS disk 2016-10-12 16:24:04 -07:00
jasminSPC 5da380baed Error handling
Minor typo fixes
2016-10-13 00:41:04 +02:00
Christopher Boumenot 68c6f64987 azure: fix documentation wording 2016-10-12 15:17:09 -07:00
Scott Crunkleton 591eb12806 Added googlecompute documentation for the source_image_project_id option. It was previously missing. 2016-10-12 13:48:37 -07:00
Purple90 17f3fac39b Update vagrant.html.md
Grammar fix. Anyways -> anyway
2016-10-12 09:09:43 -05:00
jasminSPC dca286bf38 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-10-10 23:53:52 +02:00
Rickard von Essen 5e96709ee9 Merge pull request #2919 from arizvisa/floppy-recurse
Added an option for copying entire subdirectories via floppy_dirs (supplants floppy_files)
2016-10-08 16:51:16 +02:00
Matthew Hooker 4ac1f5a105 Merge pull request #3972 from mitchellh/pr-3777
instructions for installing with chocolatey
2016-10-07 23:57:48 -07:00
Matthew Hooker 28dc5055d3 rewrite to be complete sentence 2016-10-07 23:52:13 -07:00
Matthew Hooker b8da25f599 choco install 2016-10-07 23:49:01 -07:00
Matthew Hooker 09bbd0e1cd fix tense 2016-10-07 18:00:21 -07:00
Matthew Hooker 83131db4b8 Merge pull request #3776 from curiositycasualty/master
Add custom_state config to salt provisioner
2016-10-07 17:59:52 -07:00
Bartosz "mastier" Woronicz dac049d4f3 disable log also for PACKER_LOG=0 2016-10-05 16:43:12 +02:00
Matthew Hooker 8ef2077c33 Merge pull request #3957 from mitchellh/clockskewhelp
add some debugging info for if your clock is skewed
2016-10-04 16:45:35 -07:00
evanstucker-hates-2fa a515c35338 Update shell.html.md
Changing to ".javascript".
2016-10-04 09:41:56 -07:00
evanstucker-hates-2fa cd10cef218 Update shell.html.md
Putting sleep after the reboot didn't work for me. It would just hang indefinitely. There's a better way, and it's "pause_before".
2016-10-04 09:19:26 -07:00
Matthew Hooker 24c4ba3bb5 add the error you might see 2016-10-03 17:40:52 -07:00
Matthew Hooker bddb2c25f2 documentation and changelog for #3952 2016-10-03 16:32:29 -07:00
Matthew Hooker 7b2ed0dd76 CHANGELOG and docs for #3954 2016-10-03 13:00:55 -07:00
Rickard von Essen 0be3034e82 Merge pull request #3953 from rickard-von-essen/amz-ssh
builder/amazon: Allow using ssh_private_key_file and ssh_password
2016-10-03 10:22:15 +02:00
Rickard von Essen a04988a597 Updated docs to reflect support for ssh_password 2016-10-03 10:03:45 +02:00
Rickard von Essen a38e16bdd8 Delete ssh_username from the builder/amazon docs 2016-10-03 09:54:08 +02:00
Matthew Hooker 7a1b84cec1 add some debugging info for if your clock is skewed 2016-10-02 17:32:57 -07:00
Rickard von Essen cffc8e892c Merge pull request #3382 from ahamidi/encrypted-boot-volume
Create AMI with encrypted boot volume
2016-10-02 01:02:43 +02:00
Chris Lundquist 0e2637696b [dynamic-source-ami] minor doc improvements 2016-10-01 22:27:48 +00:00
Chris Lundquist 1b4895c684 Merge remote-tracking branch 'origin/master' into dynamic-source-ami 2016-10-01 22:20:17 +00:00
Rickard von Essen 7fec12a183 Merge pull request #3941 from imduffy15/master
Allow naming of vm imported AMIs
2016-10-01 07:28:28 +02:00
Matthew Hooker 4a91a0a78c Merge pull request #3841 from rickard-von-essen/capitalize-docs-index
Capitalize documentation index correctly
2016-09-30 13:18:51 -07:00
Rickard von Essen c33a967ffc Merge pull request #3842 from rickard-von-essen/file-builder-docs
Added file builder documentation.
2016-09-30 22:14:27 +02:00
Rickard von Essen 8f35a8267d Merge pull request #3893 from rickard-von-essen/aws-doc-default-values
builder/amazon: Added and corrected some default values in the docs.
2016-09-30 22:14:03 +02:00
Ian Duffy 641ae2d837
Allow naming of vm imported AMIs
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-09-29 16:12:57 +01:00
Michael Nikitochkin 343c594bb3
Added UserDataFile support for DigitalOcean builder config. 2016-09-28 15:00:57 +02:00
Ali Rizvi-Santiago 86c00490e9 Renamed any and all instances of the word "FloppyContents" to "FloppyDirectories".
Ensure that all builders include FloppyDirectories in the StepCreateFloppy options.
Changed the way the unit-tests in common/step_create_floppy_test work to use the static test-fixtures directory instead of creating the paths dynamically.
Removed a duplicate line of documentation from parallels-pvm.html.md that occurred during rebasing.
2016-09-27 23:31:42 -05:00
Arve Knudsen 4e3da3ef54 Improve language 2016-09-27 12:44:41 -07:00
Rickard von Essen 06e3539ffa Merge pull request #3767 from taliesins/ExtendScanCodes
Add support for ctrl, shift and alt keys and using them as key modifier.
2016-09-20 21:36:46 +02:00
Taliesin Sisson ec6ea32618 Made requested documentation changes.
Line break at 80 chars.
2016-09-20 16:55:56 +01:00
Rickard von Essen 13c9db5dd5 Merge pull request #3885 from orivej/on-error
Add -on-error command line argument to allow preserving artifacts on builder errors
2016-09-20 12:28:14 +02:00
Arthur Barr d2c6b0ef8a Fix typo
"i.e." instead of "i.g."
2016-09-20 09:36:15 +01:00
Orivej Desh 4fe86244a5 Improve -on-error descriptions 2016-09-18 03:00:36 +00:00
Orivej Desh 115cb5080f Document NewRunner 2016-09-16 12:15:00 +00:00
Orivej Desh e9cc28565b Document -on-error on the "packer build" page 2016-09-16 12:15:00 +00:00
Rickard von Essen 8193075c7c
builder/amazon: Added and corrected some default values in the docs. 2016-09-16 13:57:41 +02:00
Rickard von Essen c5e9944969 Merge pull request #3790 from yoctocloud/manifest
post-processor/manifest: add artifact file size to manifest
2016-09-14 21:20:29 +02:00
jasminSPC 178748bb7c Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-09-14 15:32:30 +02:00
jasminSPC 2008c6019a Addressing PR remarks 2016-09-14 15:05:45 +02:00
Vasiliy Tolstov fe76081e0a post-processor/manifest: allow to strip path components from artifact path
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-09-14 11:32:25 +03:00
Rickard von Essen 7dafd4421e Merge pull request #3737 from clstokes/docs-googlecompute-metadata
builder/googlecompute: Clarify metadata usage.
2016-09-13 23:05:16 +02:00
Rickard von Essen 4021ce78de Merge pull request #3882 from bhcleek/doc-ansible-command
document ansible provisioner's command option.
2016-09-13 17:25:59 +02:00
Billie H. Cleek 9cf476289f document ansible provisioner's option. 2016-09-13 08:18:21 -07:00
jasminSPC 325401eaf0 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-09-13 12:06:45 +02:00
Christopher Boumenot 372bffef36 Merge pull request #3876 from AwaNoodle/master
Fix for #3875 - Azure documentation updates
2016-09-12 10:09:52 -07:00
Ali Rizvi-Santiago fbe305cf4e Renamed floppy_contents to floppy_dirs as requested by rickard.von.essen@gmail.com 2016-09-12 12:07:35 -05:00
Ali Rizvi-Santiago 5f9fdaf5fa Added documentation for the floppy_contents option to parallels, qemu, virtualbox, and vmware. 2016-09-12 11:57:44 -05:00
Rickard von Essen 3a709fcdc0 Merge pull request #3861 from bhcleek/ansible-scp
add scp support to ansible provisioner
2016-09-12 14:10:37 +02:00
Rickard von Essen ed1b664d65 Merge pull request #3855 from jeremy-asher/chroot-from-scratch
amazon-chroot build AMI from scratch
2016-09-12 13:48:04 +02:00
Rickard von Essen c3861d1675 Merge pull request #3856 from rickard-von-essen/ecr-support
Improved support for Amazon EC2 Container Registry - ECR
2016-09-12 13:43:41 +02:00
Billie H. Cleek f760ab2fd8 Make SCP the default for provisioner/ansible
Add a new option, `use_sftp` to the ansible provisioner. It's default
value is false; ansible provisioner will use SCP by default.

Refactor to consistently set all configure options for ansible
provisioner in the Prepare step.

Remove incorrect information about `ANSIBLE_HOST_KEY_CHECKING=False`
being set when `ansible_env_vars` is not set in the packer template.

Update BATS tests for the ansible provisioner to actually check that the
fetched directory contains the contents expected. This revealed a
problem with the all_options template that required adding a host to the
hosts list in the test playbook.
2016-09-11 23:58:31 -07:00
Billie H. Cleek da223b9539 add scp support to ansible provisioner
Handle running `scp -t` and `scp -f` exec requests in the
ansible-provisioner's SSH
server to allow Ansible to use SCP so that SFTP doesn't have to be
installed on the node.

Update the BATS tests to test the ansible provisioner.
2016-09-11 23:58:31 -07:00
Rickard von Essen 12426b314f Merge pull request #3823 from mitchellh/f-singlebinary
Update documentation to single binary
2016-09-12 07:47:15 +02:00
Rickard von Essen 21a957ddcd Added a missing the 2016-09-12 07:46:47 +02:00
Mark Turner de35df833b Fixed azure storage command example to include sku-name and kind 2016-09-10 17:44:13 +01:00
Mark Turner 0f4cba9c82 Added quotes to JQ line when getting Azure accounts 2016-09-10 17:33:20 +01:00
Jeremy Asher 66e55553e8 cleanup and make format on amazon-chroot docs 2016-09-04 12:19:47 -07:00
Rickard von Essen b2d9782a9e
Improved support for Amazon EC2 Container Registry - ECR
This adds support for authenticating towards ECR in the docker builder
and docker-push post-processor using them same mechanisms as in the
amazon builders. I.g. access key/secret key, credentials on file,
environment variables, sts tokens or IAM instance roles.
2016-09-04 14:33:47 +02:00
Jeremy Asher e1c69a2e9a amazon-chroot from_scratch option documentation 2016-09-03 12:32:43 -07:00
Jeremy Asher 9a7758a002 fix amazon-chroot docs use of backticks for true/false 2016-09-03 12:32:43 -07: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
Chris Lundquist defdd1ecf3 Merge remote-tracking branch 'origin/master' into dynamic-source-ami 2016-09-02 01:43:03 +00: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
jasminSPC 8f8907ee13 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-08-31 13:56:51 +02:00
jasminSPC 5caa54acd7 Addressed all the comments 2016-08-31 13:55:11 +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
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
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
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
Chris Lundquist 3d6cf56715 [dynamic-source-ami] add some docs 2016-08-20 23:54:02 +00:00
Rickard von Essen 3e1aed9a6f Enable to disable vnc password for VMware builder 2016-08-19 13:26:23 +02:00
crunk1 55b5a45ae4 Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
Added documentation and changed authentication stuff on temporary VM.
2016-08-15 14:36:26 -07:00
Rickard von Essen 66aef1487d Merge pull request #3780 from inntran/ipad-doc-optimize
Optimize Packer document view for iPad portrait mode
2016-08-14 15:17:23 +02:00
tubadude49 14c73a837d Plural 2016-08-09 16:24:17 -05:00
Seth Vargo 50330b8e69 Merge pull request #3786 from mitchellh/sethvargo/link
Update links to serf
2016-08-08 12:45:31 -04:00
Seth Vargo 47523f375d
Update links to serf 2016-08-08 12:45:23 -04:00
Yinchuan Song 9de769604a Optimize Packer document view for iPad portrait mode
- reduced margin, padding, line-height of several elements
- created iPad specific media selector
- removed unnecessary spaces around headers and list elements
- reduced code font size to 12px
- removed unnecessary optimization of page footer for tablets
2016-08-05 02:19:02 -07:00
Josh Kodroff 50c849f702 Update setup.html.md
Add instructions for Chocolatey/Windows.
2016-08-04 09:48:14 -04:00
Isa bb2dd6e2b2 add custom_state config to salt provisioner 2016-08-03 12:56:51 -07:00
Eric Johnson 0e334e67be Merge pull request #3774 from evandbrown/google-external-ip-optional
builder/googlecompute: provision VM without external IP address
2016-08-02 15:39:01 -07:00
Taliesin Sisson 3a5b9e8546 Add missing boot_command documentation. 2016-08-02 21:58:04 +01:00
Evan Brown a5c598264f builder/googlecompute: Support provisioning VM without external IP address
This change adds an `omit_external_ip` configuration property that, when true,
will cause no external IP address to be associated with the Google Compute
Engine VM provisioned to create an image. When using `omit_external_ip`, you
must also set the `use_internal_ip` configuration property to true.

Addresses #3296
2016-08-02 13:43:04 -07:00
Christopher Boumenot ece0a78990 azure: tag all resources 2016-08-02 11:25:03 -07:00
jasminSPC a61716d4a4 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks
# Conflicts:
#	Godeps/Godeps.json
2016-08-01 13:09:07 +02:00
jasminSPC 92e0f2bf4c Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks
# Conflicts:
#	Godeps/Godeps.json
2016-08-01 12:09:03 +02:00
Taliesin Sisson e3361eec55 Added ctrl, shift and alt keys to documentation 2016-07-31 22:50:59 +01:00
Taliesin Sisson a87ad05866 Add support for ctrl, shift and alt keys.
Add support for using ctrl, shift and alt as key modifiers. So you can now achieve ctrl+c by using "<leftCtrlOn>c<leftCtrlOff>".

Updated documentation for new key stroke tokens.
2016-07-31 19:05:10 +01:00
Ali Hamidi 6b7ed3aaab include default value in docs 2016-07-29 15:01:24 -07:00
Ali Hamidi 53b3867c50 allow packer to create an encrypted copy of the AMI 2016-07-29 15:01:24 -07:00
Christopher Boumenot 871ca8c3d9 azure: Support for a user define VNET.
Two new configuration options have been exposed to allow users to specify
an existing virtual network: virtual_network_name and
virtual_network_resource_group_name.

 * virtual_network_name: name of the virtual network to attach a Packer VM
 to.

 * virtual_network_resource_group_name: name of the resource group that
 contains the virtual network.  This value is optional.  If the value is
 not specified, the builder queries Azure for the appropriate value.  If
 the builder cannot disambiguate the value, a value must be provided for
 this setting.

 * virtual_network_subnet_name: name of the subnet attached to the virtual
 network.  This value is optional.  If the value is not specified, the
 builder queries Azure for the appropriate value.  If the builder cannot
 disambiguate the value, a value must be provided for this setting.
2016-07-28 21:31:59 -07:00
Eric Johnson 95cffcae78 Merge pull request #3639 from crunk1/master
Adding support for googlecompute startup scripts.
2016-07-27 08:48:01 -07:00
Chris Bednarski f9cea9edd1 Merge pull request #3651 from mitchellh/f-manifest-post-processor
Manifest post processor
2016-07-21 15:55:47 -07:00
Scott Crunkleton 7190fbeed8 Adding support for googlecompute startup scripts.
- Startup scripts can be provided through the instance creation metadata field 'startup-script'.
- Script log can be copied to a GCS location by setting the metadata field 'startup-script-log-dest'.
Added Retry method to googlecompute package.
Added GetSerialPortOutput to googlecompute Drivers.
Added StepWaitInstanceStartup (and associated test) which waits for an
instance startup-script to finish.
Changed the instance service account to use the same service account as the one provided in the Packer config template. It was the project default service account.

Tested googlecompute package with 'go test' and also performed builds
with a startup script and without a startup script.
2016-07-20 14:54:36 -07:00
Christopher Boumenot 97b1915d51 Update Azure dependencies
* azure-sdk-for-go to 3.1.0-beta
 * go-autorest to 7.0.7
 * import dgrijalva/jwt-go at 3.0.0
2016-07-20 14:21:40 -07:00
Christopher Boumenot 323dc70ed6 Merge remote-tracking branch 'origin/master' into pr-3680-update-azure-sdk 2016-07-20 12:08:28 -07:00
Cameron Stokes 923375cdbc Clarify googlecompute#metadata usage. 2016-07-20 11:12:20 -07:00
Christopher Boumenot 7d259ab098 Update Azure dependencies.
* azure-sdk-for-go to 3.1.0-beta
 * go-autorest to 7.0.7
 * dgrijalva/jwt-go to 3.0.0

Add the German cloud configuration.
Ensure the different cloud URLs are _actually_ used.
2016-07-20 10:47:46 -07:00
Chris Bednarski c0b637b0c5 Merge pull request #3733 from envato/no-shutdown-behaviour-instance-backed
No shutdown behaviour instance backed
2016-07-19 01:49:05 -07:00
Chris Bednarski 417a9bb89f Merge pull request #3710 from cmoscardi/privileged-doc
Docker builder: Adding privileged config variable to documentation.
2016-07-18 18:31:33 -07:00
Chris Bednarski 3eaaba37c1 Merge pull request #3712 from sijis/fix/docs_3711
Remove Communicator section from amazon-chroot docs
2016-07-18 18:31:17 -07:00
Adron Hall c4b93d00ad Format change to spaces vs. tabs. & indentation cleanup. 2016-07-14 14:54:02 -07:00
Adron Hall a7de9d9a2f Changed based level example so it can be copied.
The base level example doesn't actually work unless enclosed with a "builders" section. All fixed now.

Previous:

    {
      	"type": "googlecompute",
		"account_file": "account.json",
		"project_id": "my project",
		"source_image": "debian-7-wheezy-v20150127",
		"zone": "us-central1-a"
    }

Now:

	{
	  "builders": [
	    {
	      	"type": "googlecompute",
			"account_file": "account.json",
			"project_id": "my project",
			"source_image": "debian-7-wheezy-v20150127",
			"zone": "us-central1-a"
	    }
	  ]
	}
2016-07-14 07:05:46 -07:00
Sijis Aviles bd6c0dbde0 Remove Communicator section from amazon-chroot docs
Closes #3711
2016-07-12 13:26:44 -05:00
Christian Moscardi 874ff0eaa7 Adding privileged config variable to documentation. 2016-07-12 10:40:26 -04:00
jasminSPC fc4c88dc6d Fixed tests 2016-07-08 19:19:19 +02:00
Chris Bednarski 6eedd4d710 Merge pull request #3650 from tomdev/patch-1
Add comment on required subnet_id when using vpc_id
2016-07-07 12:54:53 -07:00
jasminSPC dd8ce6a907 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-07-07 10:29:25 +02:00
jasminSPC d575cd62ec Cleaned up the code 2016-07-07 10:28:46 +02:00
Chris Bednarski da80c60e84 Merge pull request #3641 from rrzaripov/website-fix-default-remote-path-windows-shell
Clarifying defaults remote_path for powershell and windows-shell prov…
2016-07-06 23:24:02 -07:00
Erika Barcott d7ace1a72f Updated text
Proofreading.
2016-07-01 12:30:00 -07:00
jasminSPC e8be8d2f7b Added documentation
Removed unnecessary comments.
2016-07-01 14:28:29 +02:00
Patrick Robinson 9af244afc4 Remove documentation about instance shutdown from instance builder 2016-06-27 10:29:59 +10:00
Tom de Vries 510e4c991e Add comment on required subnet_id when using vpc_id 2016-06-24 10:35:22 +02:00
Paul Meyer 163da48345 builder/azure-arm: Make tenant_id optional
Look up tenant id if not specified by the user
2016-06-23 10:23:09 -07:00
Renat Zaripov b4ac9d0033 Clarifying defaults remote_path for powershell and windows-shell provisioners 2016-06-22 09:29:13 +03:00
Chris Bednarski df8aff6286 Merge pull request #3622 from jamiegs/fixCleanupOnWindows
Fix node clean-up on Windows
2016-06-14 15:20:54 -07:00
Jamie Snell d43fa85e7b update docs to reflect knife_command change 2016-06-14 17:18:08 -05:00
Patrick Robinson 3cf2d1e356 Add documentation for shutdown_behaviour option 2016-06-14 14:29:10 -07:00
Chris Bednarski ab05a458ea Merge pull request #3623 from delaman/patch-1
Type-o in documentation
2016-06-14 14:17:24 -07:00
Chris Bednarski ab8d091304 Merge pull request #3593 from grobinson-blockchain/patch-2
Add Debian 8.4 to gotchas for google compute builder
2016-06-14 14:16:42 -07:00
Pedro de la Cruz Jr 877a456eea Type-o in documentation 2016-06-14 14:24:34 -05:00
Tom Asquith 40aa2b9973 added support for specifying an execute command to the puppet-server provisioner. 2016-06-13 14:12:28 +01:00
Chris Bednarski 7a9c3bc2a0 Added -force truncation behavior for manifest, and added docs 2016-06-10 15:57:01 -07:00
Jack Pearkes 844e753fea
website: darken works_with azure logo 2016-06-09 16:00:14 -07:00
Christopher Boumenot 353ce2f2a6 Merge pull request #3575 from mitchellh/pr-custom-image-url
Implement support for custom images.
2016-06-09 09:47:18 -07:00
owjjh d088b01cc8 Updating documentation to include details for the skip_region_validation configuration option 2016-06-06 14:45:22 -04:00
Chris Bednarski 63c7fdb6e4 Merge pull request #3590 from erkolson/master
Amazon documentation, update policy document - minimal set of permiss…
2016-06-02 11:04:47 -07:00
George Robinson 75dc729182 Add Debian 8.4 to gotchas for google compute builder 2016-06-02 14:48:35 +01:00
Jack Pearkes f1aa081bef
website: add azure to works with text 2016-06-01 12:06:26 -07:00
Erik Olson a6b59d742d Amazon documentation, update policy document - minimal set of permissions to allow copying AMIs to other regions 2016-06-01 12:59:25 -04:00
Jack Pearkes 4bad83aeba
website: update homepage image for works well with
We now support Azure!

https://dl.dropboxusercontent.com/s/qwke3gjblpa6a5t/2016-06-01%20at%209.56%20AM.png
2016-06-01 09:57:13 -07:00
Christopher Boumenot 5950d3d92b Implement support for custom images. 2016-05-27 21:18:20 -07:00
Chris Bednarski d6b9978d0e Merge pull request #3565 from imduffy15/master
Allow configurable VNC bind IP for VMware builders
2016-05-25 11:27:38 -07:00
Chris Bednarski e13b7fbfcd Merge pull request #3566 from imduffy15/virtualbox
Allow configurable VRDP bind IP for VirtualBox builders
2016-05-25 11:27:29 -07:00
Ian Duffy fa273f3bea Allow configurable VNC bind IP for QEMU
This commit allows for a user configurable VNC bind IP to be used for
QEMU.

By default this will be 127.0.0.1, alternatively, a user can use
0.0.0.0 which will bind to all interfaces.

This pull request should satisfy concerns of #3570 and #3559. It is
also in-line with the functionality provided by #3566 and #3565

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 10:10:12 +01:00
Ian Duffy 9abd8b16bc Update documentation to include vnc_bind_address
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 09:38:40 +01:00
Ian Duffy 4ca03a95c6 Update documentation to include vrdp_bind_address
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 09:36:27 +01:00
Chris Bednarski 42a9d9d5a1 Merge pull request #3352 from chalfant/disable-stop-instance
Disable stop instance
2016-05-24 15:40:54 -07:00
Chris Bednarski 97772d0dee Added warning not to use instance builder with windows 2016-05-24 15:19:06 -07:00
Justin Phelps c53e3d01c0 Adding reference to GetPasswordData in the Amazon builder documentation. Fixes #3546 (#3558) 2016-05-20 10:15:40 -07:00
Brian Candler 56313450a9 Headless documentation (#3557)
* Add some notes about qemu headless mode

Partly resolves #3530
2016-05-20 10:01:41 -07:00
Chris Bednarski 24cf28d4b6 Merge branch 'yoctocloud-accelerator' 2016-05-19 22:54:19 -07:00
Chris Bednarski 6c1ca3ad49 Updated qemu docs to reflect new behavior 2016-05-19 22:54:08 -07:00
Vasiliy Tolstov d64603e137 initial import of checksum post-processor (#3492)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 17:31:16 -07:00
Vasiliy Tolstov b67ee530c8 post-processor/shell-local: don't set executable bit for artifact files (#3505)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 16:15:26 -07:00
Avi Deitcher e9a9219725 Clarify how shell-local post-processor gets called and when, with an example (#3511) 2016-05-18 16:07:21 -07:00
Hidekazu Tanaka 3728e076fe Fix SSH Agent Forwarding exmaple 2016-05-18 16:04:56 -07:00
David J. Felix b7bff9d251 Fix misdocumentation of "variables" attribute (#3433)
- Variables is not a JSON array or "[]" it is a JSON object "{}" or map.
2016-05-18 16:00:49 -07:00
Christopher Boumenot 83e6044595 Documentation for the Azure builder. (#3518) 2016-05-17 14:15:24 -07:00
Peter Schultz 8546aafec5 builder/googlecompute: support image family 2016-05-13 15:24:02 -07:00
Vasiliy Tolstov 6a5f6938ef post-processor/compress: add bgzf format support
* add bgzf compressor (it allows seek inside compressed file)
* add optional format config variable to specify archive format
* Update pgzip to get sse4 and avx optimizations.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-13 11:51:00 +02:00
Chris Bednarski b41b408800 Update atlas.html.md (#3520) 2016-05-09 16:53:27 -07:00
Chris Bednarski b30689b7b5 Updated documentation for Azure builder 2016-05-06 21:56:27 -07:00
Seth Vargo 52f934b328 Do not allow referrer to modify the sender (#3469)
http://mathiasbynens.github.io/rel-noopener/
2016-05-05 13:12:56 -07:00
Chris Bednarski f28d8a18c5 Added documentation for ATLAS_CA* environment variables 2016-05-03 17:19:12 -07:00
Seth Vargo 344f98ebd3 Track enhanced links (#3491) 2016-05-03 16:16:03 -07:00
Chris Bednarski 700966fc27 Added changelog link to the download page (#3485) 2016-04-29 19:09:52 -07:00
Mark Campbell 6658ec7ea3 Fix extra backslash in front of dollar signs in website documentation (#3479)
The dollar signs do not need to be escaped. The backslashes show up on
the website right now. This commit makes it so that they do not show up
on the website.
2016-04-28 10:25:42 -07:00
Ian Duffy 7e653370b7 Seperate remote_path into remote_folder and remote_script. (#3462)
Commonly /tmp is set as noexec, as a result packer scripts
fail to run. In order to get around this one can set a
remote_path, whoever, remote path requires full filename
and path.

By making remote_path a combination of
remote_folder/remote_script we can change remote_folder
and keep the default script_nnn.sh

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-04-26 16:04:29 -07:00
Khalid Saifullah b11e888f6c typo (#3467) 2016-04-22 16:42:13 -07:00
mansunkuo 864be9d991 Modify documents of extra_arguments for both ansible(remote) and ansible-local. (#3423) 2016-04-20 20:49:46 -07:00
Chris Bednarski 90a12f7043 Clarified that windows must be fully booted in order for the restart provisioner to succeed 2016-04-20 12:34:53 -07:00
Rickard von Essen 4f0f05fb8e Merge pull request #3419 from tylert/vmw-iso-doc-fix
Put vmware-iso builder config options in 'packer fix' order and menti…
2016-04-06 16:36:03 +02:00
Tyler Tidman 2472e6bf06 Put vmware-iso builder config options in 'packer fix' order and mention boolean defaults 2016-04-06 09:24:03 -04:00
Shaun Haber efa642fe04 Add documentation for ssl_verify_mode 2016-04-01 12:35:05 -07:00
Ilias Bertsimas 8bb3541fc3 Fix WinRM default SSL port typo. 2016-03-22 11:32:03 +00:00
Chris Bednarski 172184b2f2 Merge pull request #3360 from thomasv314/bugfix/fix-documentation-errors
Update documentation to work out of box
2016-03-17 14:16:56 -07:00
Thomas Vendetta e362cd6b8b Use new Ubuntu AMI thats t2.micro & us-east-1 eligible
Uses this free tier eligible ebs/hvm AMI:

  Ubuntu Server 14.04 LTS (HVM), SSD Volume Type - ami-fce3c696
2016-03-16 22:28:10 -04:00
kopernikus f3011698ba document keep_registered switch 2016-03-16 23:31:50 +01:00
Chris Chalfant 601b833aaa style and documentation changes per PR review comments 2016-03-15 08:01:20 -04:00
Chris Bednarski e2dd57837d Added azure setup instructions for new accounts 2016-03-14 20:08:41 -07:00
Chris Bednarski 7b9fa48a1b Added initial azure documentation 2016-03-14 20:08:36 -07:00
Alvaro Miranda 33a225eb92 Add note for $HOME and ~ 2016-03-15 06:34:26 +13:00
Keyan Pishdadian aee8490f68 Add docs for ignore_exit_codes param 2016-03-13 23:39:29 -04:00
Chris Bednarski e464a8b8d8 Correct margins for inline code blocks 2016-03-11 17:29:25 -08:00
Chris Bednarski 4588c34efb Fix formatting for fix docs 2016-03-11 17:29:04 -08:00
Chris Bednarski 1256babce3 Change .markdown to .md because it's shorter 2016-03-11 17:06:36 -08:00
Chris Bednarski 1994793126 Added upgrade warning to remove old plugins 2016-03-11 11:13:32 -08:00
Sander Knape e75ce84176 Fix incorrect amazon-ebs property in documentation 2016-03-11 11:04:19 +01:00
Chris Bednarski 118fcb27b8 Added docs for google disk_type 2016-03-10 14:53:37 -08:00
Dave Holland 81cf23052f Update setup.html.markdown
zip file now contains a single binary
2016-03-10 17:24:40 +00:00
Mansun Kuo 5134faf0cc Add example of extra_arguments 2016-03-10 21:49:04 +08:00
Rickard von Essen b214a175f2 Fixed OpenStack cli install example
Closes #3326
2016-03-09 12:29:31 +01:00
Dai MIKURUBE 2d4c31f82b Add a note about timezone "-0700" in "isotime". 2016-03-08 17:35:06 +00:00
Chris Bednarski 39ca3c292e Merge pull request #3299 from tylert/shell-doc-order
Put shell provisioner doc in 'packer fix' order
2016-03-07 18:30:29 -08:00
Rickard von Essen 7369841e63 Ansible: add the support for specifying ansible_user
Closes #3273
2016-03-07 13:35:24 +01:00
Mike Perez dfeaa32134 Fixing broken link in OpenStack builder docs 2016-03-03 22:56:39 -08:00
Tyler Tidman b6eaf60fda Put shell provisioner doc in 'packer fix' order 2016-03-02 14:37:30 -05:00
Ilias Bertsimas 883e4bcae2 Update documentation to reflect the new default behaviour. 2016-02-29 16:06:23 +00:00
Aaron Harnly f47d58f92e "environmental variable" -> "environment variable"
They are called environment variables, rather than environmental variables[1].
This small fix corrects that in the docs.

[1] http://man7.org/linux/man-pages/man7/environ.7.html
2016-02-25 17:21:18 -05:00
Chris Bednarski 7ea815024d Removed beta warning; this is live now 2016-02-22 17:58:41 -08:00
Chris Bednarski 484404f223 Merge pull request #3248 from clstokes/docs-pp-shell-local
website/docs: Add `shell-local` post-processor to sidebar.
2016-02-22 12:57:24 -08:00
Cameron Stokes 04386435de docs/website: Add `shell-local` post-processor to sidebar. 2016-02-22 12:35:35 -08:00
Chris Bednarski 48a6c17d91 Merge pull request #3240 from dave2/docs-missing-amazon-import
Minor amazon-import doc fixes (formatting, doc sidebar)
2016-02-22 10:45:09 -08:00
Cameron Stokes 8fbe7a4182 Fix `shell-local` post-processor exmaple. 2016-02-22 09:23:24 -08:00
David Zanetti 9b3a011cfa Minor amazon-import doc fixes (formatting, doc sidebar)
* Add amazon-import to documentation sidebar
 * Fix formatting error in amazon-import doc

Signed-off-by: David Zanetti <dave2@wetstring.net>
2016-02-22 09:26:37 +13:00
Vespian 4750da3457 Add empty_groups param to ansible provisioner 2016-02-19 23:46:50 +01:00
Tyler Tidman 8f44bd7575 List ssh communicator doc options in 'packer fix' (alphabetical) order 2016-02-19 09:46:24 -05:00
David McNicholl c831bf2c43 Add Ansible Remote to website documentation
Add Ansible Remote to website documentation and appropriately rename Ansible Local link.
2016-02-18 10:41:59 +00:00
Rickard von Essen 1c61c06ff8 Merge pull request #3225 from mohae/openstack-doc-a-z
docs: alphabetize openstack settings; username and password are left …
2016-02-18 10:08:59 +01:00
Rickard von Essen 23bc6c3a47 Merge pull request #3226 from mohae/google-compute-doc-a-z
docs: alphabetize google-compute settings
2016-02-18 10:07:37 +01:00
Rickard von Essen 995a8b864b Merge pull request #3227 from mohae/parallels-iso-doc-a-z
docs: alphabetize parallels-iso settings
2016-02-18 10:05:56 +01:00
Joel Scoble 46a42fe910 docs: alphabetize parallels-pvm settings 2016-02-17 23:52:32 -06:00
Joel Scoble dae88620b5 docs: alphabetize parallels-iso settings 2016-02-17 23:48:24 -06:00
Joel Scoble 609131e0e9 docs: alphabetize openstack settings; username and password are left in their current location (not alphabetized 2016-02-17 23:45:14 -06:00
Joel Scoble 70d16132de docs: alphabetize google-compute settings 2016-02-17 23:40:31 -06:00
Nathan Mische 335a2010bf Moving SSH IP version validation to prepare function. 2016-02-17 10:52:29 +01:00
Nathan Mische 8396a2db1e Adding ability to select IP version for SSH connections to OpenStack instances. Addresses #3047 2016-02-17 10:28:18 +01:00
Chris Bednarski 043878ad7a Merge pull request #3213 from mohae/amazon-instance-doc-settings-a-z
docs: amazon-instnace: alphabetize and indent ami_block_device_mappings for consistency
2016-02-16 15:06:11 -08:00
Chris Bednarski dd678631f9 Merge pull request #3212 from mohae/amazon-ebs-doc-settings-a-z
docs: amazon-ebs: alphabetize ami_block_device_mappings for consistency
2016-02-16 15:04:44 -08:00
Chris Bednarski 92728f2ec2 Merge pull request #3214 from dave2/gh-3132
Docs: Examples of templates need more assistance about AMI IDs
2016-02-16 14:42:24 -08:00
Tyler Tidman d593d1a177 Show default ssh_host_port ranges 2016-02-16 17:10:02 -05:00
David Zanetti d5a5fbc309 Docs: minor typo fixup
Signed-off-by: David Zanetti <dave2@wetstring.net>
2016-02-17 10:58:11 +13:00
David Zanetti 3c1013f098 Docs: Examples of templates need more assistance about AMI IDs
* Several places where AMI IDs are used now have more explanation about
   where to find information about them, or links to the builder docs
 * IDs present in examples have not been changed to valid ones, since
   this would be an on-going problem to maintain a current valid ID
 * See github.com issue #3132

Signed-off-by: David Zanetti <dave2@wetstring.net>
2016-02-17 10:49:38 +13:00
Joel Scoble 68d9f1ff54 alphabetize and indent ami_block_device_mappings 2016-02-16 15:44:21 -06:00
Joel Scoble 9c979d2f30 alphabetize ami_block_device_mappings for consistency 2016-02-16 15:38:49 -06:00
Tyler Tidman 4a628ec02d Fix qemu builder vnc_port_min and vnc_port_max text (copied from vmware-iso builder) 2016-02-16 16:02:33 -05:00
Chris Bednarski fb7870ad94 Merge pull request #3203 from mtb-xt/ansible-env
Allow specifying environment variables for ansible provisioner
2016-02-14 19:11:11 -08:00
Marat Bakeev 2791542171 Allow specifying environment variables for ansible provisioner 2016-02-15 13:07:02 +13:00
George Hartzell fc9dee4e0d Fix invalid JSON in example
There was an extraneous comma in the example that rendered the JSON invalid.
2016-02-14 13:11:04 -08:00
Dan Sedlacek 0146294095 Added documentation 2016-02-12 11:39:19 -08:00
Chris Bednarski 765ec5cf39 Merge pull request #2962 from dave2/postprocess_amazon_ova
New post-processor: amazon-import
2016-02-11 23:38:15 -08:00
Chris Bednarski 3ae867446d Merge pull request #2660 from mafrosis/saltp
Salt provisioner updates
2016-02-11 16:37:06 -08:00
Chris Bednarski cd4961196f Add note to docs indicating that -machine-readable and -debug cannot be used at the same time 2016-02-11 16:12:22 -08:00
Ian Duffy c4b64eb2c7 Closes #2637 - VRDP support for the virtualbox plugin
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-02-11 14:38:24 -08:00
Chris Bednarski 56fe74ed98 Merge pull request #3182 from sl1pm4t/master
Add support for Google subnetworks. Closes #3062.
2016-02-11 13:43:52 -08:00
Billie H. Cleek 7d898ff345 edit documentation
* Add text explaining the basics of how the ansible provisioner works.
* Refactor the basic example to demonstrate the simplest case.
* Use active voice more consistently.
2016-02-11 01:44:28 -08:00
Matt Morrison f566d6f36d add docs for Region 2016-02-11 22:08:32 +13:00
Matt Morrison daf57c7632 Add tests and documentation for subnetwork attribute 2016-02-11 21:54:48 +13:00
Billie H. Cleek 0cd54ed19e add options to configure host alias and groups 2016-02-10 23:33:14 -08:00
Chris Bednarski 193c7c08e7 Merge pull request #3175 from tylert/shell-local-docs
Remove invalid 'binary' option for shell-local post-processor
2016-02-10 19:29:53 -08:00
Billie H. Cleek fbb32d2f15 documentation edits
Fix spelling and grammar mistakes in the ansible provisioner
documentation.
2016-02-10 14:16:02 -08:00
Billie Cleek a23610ef41 cleanup ansible provisioner key generation
* Clearly separate host signer and user key generation into separate
  functions and data structures.

* Remove inaccurate comment about needing to specify both files if
  either one is specified.

* Rename parameters for clarity according to their meaning to the
  callee.

* Style the code with gofmt.
2016-02-10 14:16:02 -08:00
Tyler Tidman bda06bfb2a Remove invalid 'binary' option for shell-local post-processor 2016-02-09 16:30:32 -05:00
Tyler Tidman c7c8b13bb5 Show default for iso_skip_cache in qemu docs 2016-02-09 14:44:24 -05:00
Rickard von Essen 7fa5bcd5d7 Merge pull request #3134 from rickard-von-essen/issue-2701
OpenStack: Update documentation, fixes GH-2701
2016-02-09 13:15:39 +01:00
Rickard von Essen df6e4c0565 Merge pull request #3162 from rickard-von-essen/checksum
Allow to specify ISO checksum via URL
2016-02-09 13:11:17 +01:00
Rickard von Essen e1c470db80 Merge pull request #3135 from rickard-von-essen/issue-2526
OpenStack: convert SSH keys from BER to DER with OpenSSL, work around…
2016-02-09 13:10:04 +01:00
Rickard von Essen 6855c480ad OpenStack: convert SSH keys from BER to DER with OpenSSL, work around for GH-2526.
Try to parse the temporary keypair received from OpenStack, if it fails
try to use OpenSSL to convert it from BER encoding to DER.
2016-02-09 12:50:00 +01:00
Rickard von Essen bbade5d8ae Added "iso_checksum_url" and keep the functionality of "iso_checksum"
Added support for file shema in "iso_checksum_url".
Added some unit tests and updated the docs accordingly.
2016-02-08 19:35:50 +01:00
Vasiliy Tolstov 00fcc3dfdc allow to specify checksum via url
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-08 19:35:50 +01:00
Rickard von Essen 382e2b4198 Merge pull request #2405 from vtolstov/do
bring back api_url to support DO like api
2016-02-08 12:51:45 +01:00
Vasiliy Tolstov ec4e95493d builder/digitalocean: add ability to specify api url
This is useful in case of using DigitalOcean compatibility api hosting.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-06 14:15:32 +00:00
Tyler Tidman ba82a60d55 Move shell-local post-processor doc to common location 2016-02-05 16:18:06 -05:00
Chris Bednarski 33effdb19b Merge pull request #3149 from mtb-xt/master
Generate key files for Ansible provisioner
2016-02-04 18:56:21 -08:00
Marat Bakeev c95b2b483f Merge branch ansible-provisioner of https://github.com/dkhenry/packer 2016-02-05 15:40:17 +13:00
Chris Bednarski 6c35f44104 Merge pull request #3129 from vtolstov/wait
builder/qemu: allow to specify time.Duration in special <wait> command
2016-02-04 17:16:07 -08:00
Rickard von Essen 623dbc1ffe Merge pull request #3147 from tylert/update-qemu-doc
Update qemu builder doc net_device list, put things in packer fix order
2016-02-04 20:59:27 +01:00
Rickard von Essen e5356dc4c4 Merge pull request #3133 from rickard-von-essen/aws_ssh_cleanup
Amazon: Cleaned up the docs about SSH after implementing Communicator.
2016-02-04 20:28:57 +01:00
Tyler Tidman 7c89df2080 Forgot to tidy up a comma too 2016-02-03 11:25:30 -05:00
Tyler Tidman e20d68cef5 Update qemu builder doc net_device list, put things in packer fix order 2016-02-03 11:16:40 -05:00
Chris Bednarski 3d9410f176 Merge branch 'sftp' of https://github.com/2opremio/packer into f-sftp 2016-02-02 14:16:19 -08:00
Chris Bednarski dab36cbdee Merge pull request #2304 from eloycoto/master
Post-Processor/Vsphere: Added overwrite option
2016-02-02 14:14:54 -08:00
Vasiliy Tolstov 2104fcec69 builder/qemu: allow to specify time.Duration in special <wait> command
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-02 09:13:37 +00:00
Rickard von Essen fbeacb3dc4 OpenStack: Update documentation, fixes GH-2701
Added documentation for:
 - identity_endpoint
 - user_id
 - OS_USERID
 - endpoint_type
 - ssh_keypair_name
 - user_data
 - user_data_file

Improved documentation for:
 - floating_ip
 - OS_TENANT_NAME
 - use_floating_ip

Added a DevStack exmaple and some notes about OpenStack authorization
and how to get started with a correct setup.
2016-02-01 12:36:56 +01:00
Rickard von Essen 209e877d20 Amazon: Cleaned up the docs about SSH after implementing Communicator. 2016-01-31 21:05:27 +01:00
Billie H. Cleek bf3c294326 listen on system chosen port
Change the default for LocalPort to "0", so that the listener will be a
system chosen port.
2016-01-28 22:22:12 -08:00
Chris Bednarski 2dd8ad9449 Merge pull request #2577 from cybercom-finland/os_source_image_name
Support source_image_name in OpenStack builder
2016-01-28 15:40:13 -08:00
Chris Bednarski 15f99a4aee Merge branch 'ansible-provisioner' of https://github.com/bhcleek/packer into f-ansible 2016-01-28 15:16:54 -08:00
Chris Bednarski 87532b1b00 Merge branch 'chef-provisioner-windows' of https://github.com/sneal/packer into f-chef-provisioner-windows 2016-01-28 14:55:17 -08:00
Chris Bednarski f2698b5981 Merge pull request #3113 from tylert/md-ext-rename
Rename communicator markdown file to match the rest of the website so…
2016-01-26 16:42:21 -08:00
Einar Forselv c6a21ab491 Openstack builder documentation needs v3 auth information
Added some basic information about v3 authentication.
2016-01-27 01:30:17 +01:00
Tyler Tidman a1c4c6aace Rename communicator markdown file to match the rest of the website source files 2016-01-26 09:28:24 -05:00
Matt Black 33071150c1 Salt provisioner: option to set logging level on Salt highstate run 2016-01-26 13:09:15 +00:00
Matt Black 9ccf298be9 Salt provisioner: option to ignore salt highstate failures fixes #2486 2016-01-26 13:09:15 +00:00
Matt Black 5cd15b52c5 Salt provisioner: dynamic command line args passed onto salt-call fixes #2652 2016-01-26 13:09:15 +00:00
Chris Bednarski 4490826a17 Merge pull request #3040 from kimor79/3011
Add mount_partition option to amazon-chroot builder
2016-01-25 22:08:07 -08:00
Vasiliy Tolstov d96283e475 qemu: allow to use live iso without cache
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-01-25 10:44:42 +00:00
Seth Vargo cd4a70f846 Add structured data 2016-01-24 13:11:58 -05:00
Chris Bednarski a0b30dcf59 Merge pull request #3100 from msabramo/docs_user_variable_example_conditional_provisioner
docs: Add example of conditional provisioner
2016-01-23 21:43:48 -08:00