Commit graph

2134 commits

Author SHA1 Message Date
Matthew Hooker
d46d5ea2fb
docs/ansible: clarify that we ignore remote_user 2017-01-28 19:05:42 -08:00
Matthew Hooker
df247a99a1
ansible does its own coloring. 2017-01-28 18:41:11 -08:00
Matthew Hooker
b3db88109d
document how we upload symbolic links 2017-01-27 18:32:08 -08:00
Matthew Hooker
76f897077d Merge pull request #4399 from rickard-von-essen/aws-interpolate
WIP: builder/amazon: Interpolate {{ .BuildRegion }} and {{ .SourceAMI }}
2017-01-26 11:41:16 -08:00
Matthew Hooker
8592687795
add debug note about ulimits. 2017-01-25 17:13:54 -08:00
Matthew Hooker
4dcab2fb9c
docs/provisioners/shell: safety first
make it harder to forget -e when overriding shebang. Closes #2873
2017-01-25 16:06:43 -08:00
jasminSPC
75e6688871 Fixes #4454 2017-01-25 17:17:55 +01:00
jasminSPC
f55b2b27ae Fixes #4454 2017-01-25 17:05:09 +01:00
Greg Parsons
88a1e7b572 adds readme section for changes 2017-01-23 15:19:56 -08:00
Rickard von Essen
ce411a0d17 Added docs for SourceAMI and BuildRegion template 2017-01-21 20:39:58 +01:00
Matthew Hooker
0a46d883df Merge pull request #4409 from mitchellh/httpenvvar
set PACKER_HTTP_ADDR env var when available.
2017-01-18 12:35:14 -08:00
Matthew Hooker
47558ebd83 Merge pull request #4410 from mitchellh/docs-block-device
Clarified when to use launch_ vs ami_ for block devices
2017-01-17 22:02:40 -08:00
Chris Bednarski
b7c73b89ac Propagate block device doc changes to AWS chroot and instance builder docs 2017-01-17 21:32:18 -08:00
Matthew Hooker
6563eb213c
Document. add to windows-shell and powershell 2017-01-17 17:07:36 -08:00
Matthew Hooker
94a2aae749 Merge pull request #4361 from Tom-Byrne/openstack-instance-metadata
support OpenStack instance (not image) metadata
2017-01-17 11:05:20 -08:00
Chris Bednarski
1b2101463d Clarified when to use launch_ vs ami_ for block devices 2017-01-16 23:56:06 -08:00
Chris Bednarski
e814c37539 Fix docs example for PACKER_KEY_INTERVAL 2017-01-14 20:14:41 -08:00
Chris Bednarski
ee2d636840 Improve delay between key events
- Can now tune delay using PACKER_KEY_INTERVAL
- Added implementation to all of VMware and QEMU
- Removed double delay for QEMU
- Default key delay of 100ms (as before)
- Added docs to QEMU and VMware pages
2017-01-14 17:56:04 -08:00
Rickard von Essen
d1b9a91e3d
Change all builder docs to the expected file names 2017-01-14 13:03:39 +01:00
DanHam
37a6d81fd8 docs/qemu: Build on RHEL/RHEL variants errors if scsi disk interface is used 2017-01-13 11:12:44 +00:00
dnABic (Andreja Babic)
4d5d89b328 small documentation typos 2017-01-11 20:43:54 +01:00
Matthew Hooker
20dea71992
docs/vmware: update skip_export wording 2017-01-10 15:26:43 -08:00
Matthew Hooker
98b0f018fa Merge pull request #4378 from DanHam/skip-export-vmware
Add option to skip export of installed VM for VMware ISO builder
2017-01-10 15:24:58 -08:00
Matthew Hooker
8d5c316a30
docs/virtualbox: update skip_export wording 2017-01-10 15:24:10 -08:00
Matthew Hooker
a3da92dc97 Merge pull request #4339 from DanHam/gh-4131
Add option to skip export of installed VM for vbox ISO & OVF builders
2017-01-10 15:08:15 -08:00
DanHam
ed158a1c5c
Add skip_export option for VMware iso builder to docs 2017-01-10 11:46:42 +00:00
Tom-Byrne
d7545c4ba0 support OpenStack instance metadata 2017-01-05 14:42:32 +00:00
James Portman
88fceff226 Correcting CLI usage
For gcloud compute instances create, multiple scopes should be comma separated in one set of quotes
2017-01-05 10:34:42 +00:00
Matthew Hooker
5fc6a2ee70 Merge pull request #4326 from asteris-llc/feature/converge-provisioner
New Provisioner: Converge
2017-01-04 10:46:18 -08:00
Brian Hicks
d9683c0817
website: add default note on converge bootstrap parameter 2017-01-04 12:12:35 -05:00
Rickard von Essen
df0638ad37
builder/hyperv: Added iso_target_extension and iso_target_path to docs 2017-01-04 14:02:36 +01:00
Rickard von Essen
85cf00069f Merge pull request #4294 from legal90/iso-target-extension
Add "iso_target_extension" option for all local *-iso builders
2017-01-04 13:48:28 +01:00
dnABic (Andreja Babic)
9403dfc272 wrong path to import code for plugins 2017-01-04 00:05:29 +01:00
James Nugent
01c09aa7f7 Merge pull request #4325 from siepkes/f-triton-builder-2
Add Joyent Triton Builder
2017-01-01 15:40:11 -06:00
Jasper Siepkes
bdf57c9cfa Fixed documentation error for the 'source_machine_firewall_enabled'
option.
2016-12-31 12:34:33 +01:00
Rickard von Essen
1560e15632 Merge pull request #4337 from KohlsTechnology/puppet-provisioner-doc-fixes
Clean up puppet provisioner documentation
2016-12-30 09:45:41 +01:00
Sean Malloy
bd0985cde8 Do not escape quotes 2016-12-29 23:25:34 -06:00
DanHam
0ac071b6e7
Add option to skip export of installed VM for Virtualbox ISO & OVF builders
Closes #4131
2016-12-29 13:19:59 +00:00
Jasper Siepkes
0c9b576c05 * Unentagled SSH communication with VM's from the Cloud API SSH private
key.
* Improved documentation.
2016-12-29 13:24:56 +01:00
Jasper Siepkes
4b651ce3c2 Formatted Triton documentation. 2016-12-29 11:17:24 +01:00
Sean Malloy
e0fd5ac402 Fix formating for network_project_id config option 2016-12-28 23:15:18 -06:00
Sean Malloy
01b5a824f3 Clean up puppet provisioner documentation
Clarify that the puppet_bin_dir options is the
path to the directory that contains the puppet
binary. Update default execute command. Clarify
that the client_cert_path and the client_private_key_path
options are paths to directories not regular files.
2016-12-28 22:33:44 -06:00
Rickard von Essen
cda83dc93a
provisioner/puppet-server: Fixed formatting for execute_command 2016-12-28 21:43:57 +01:00
Brian Hicks
feab6f096e
provisioner(converge): add prevent_bootstrap_sudo 2016-12-28 12:53:22 -06:00
Brian Hicks
fb6a5c5bbc
provisioner(converge): change skip_bootstrap back to bootstrap 2016-12-28 12:49:40 -06:00
Jasper Siepkes
10bcf64245 Removed accidentally checked in 'ssh_agent_auth' documentation. See SSH
discussion in #4325 as to why it was removed for now.
2016-12-28 16:11:09 +01:00
Jasper Siepkes
24786aeece Processed code review feedback.
* Removed unneeded if statements.
* Made source machine name optional.
2016-12-28 16:03:11 +01:00
Brian Hicks
18425c45d0
provisioner(converge): change bootstrap to skip_bootstrap 2016-12-28 08:48:02 -06:00
Brian Hicks
5d935767f0
provisioner(converge): add bootstrap_command 2016-12-28 08:45:19 -06:00
Brian Hicks
843731d98d
provisioner(converge): add prevent_sudo 2016-12-28 08:19:03 -06:00
Brian Hicks
30a393d4c2
provisioner(converge): update documentation with new schema 2016-12-27 16:50:44 -06:00
Brian Hicks
6365e40126
provisioners(converge): document 2016-12-27 15:57:11 -06:00
Jasper Siepkes
7606dd541b * Contains the SSH fix by @watters of #3840.
* Fixed minor lint error.
* Added documentation for this builder in `triton.html.md`.
* Added (and updated) the needed Joyent Triton Cloud API Go libraries
  to `vendor.json`.
2016-12-27 17:05:27 +01:00
Sean Malloy
7feb8b993c Add default facts for puppet-server provisioner 2016-12-22 15:53:59 -06:00
Matthew Hooker
b35226ffae
add a note about running qemu next to a common file.
Related to $4291
2016-12-20 17:22:47 -08:00
Matthew Hooker
314f169d08
update tmpdir env var for windows 2016-12-20 16:46:32 -08:00
Matthew Hooker
af8fa95cc2 Merge pull request #4297 from gtirloni/docs-tmpdir
Add comment about TMPDIR environment variable
2016-12-20 16:41:47 -08:00
Tom
5927cdf063 Use the latest Centos 6 release 2016-12-20 12:56:25 +00:00
Matthew Hooker
9801e67fdc Merge pull request #4293 from mitchellh/usedefaultdisplay
builder/qemu: add use_default_display option for osx compatibility
2016-12-19 11:41:36 -08:00
Taylor Brown
cac861db99 Update hyperv.html.md
Fixing Hyper-V Branding
2016-12-19 08:51:27 -08:00
Taylor Brown
e5e1f70e75 Update hyperv-iso.html.md
Correcting Hyper-V Branding
2016-12-19 08:47:21 -08:00
Giovanni Tirloni
ed50bd5192 Add comment about TMPDIR environment variable 2016-12-19 13:54:54 -02:00
Mikhail Zholobov
57d07f227a
Add "iso_target_extension" option for all local *-iso builders
This option allows to set the extension of the ISO file after download.
Defaults to "iso". It makes sense for building Mac OS X guests, where the
bootable image is actually a DMG, not an ISO.
In particular, it is important for "parallels-iso" builder to set the right extension.
2016-12-17 12:50:30 +02:00
Matthew Hooker
0339fcc442
builder/qemu: add use_default_display option
If set, won't set `-display dsl` as a default argument. Useful for osx
compatibility.
2016-12-16 17:44:54 -08:00
Matthew Hooker
40ec40410f
add new builders to layout 2016-12-15 14:23:16 -08:00
Matthew Hooker
c61c7765ec Merge pull request #4288 from troytoman/gce-network-uri
enable support for Google Compute XPN
2016-12-15 12:03:46 -08:00
Matthew Hooker
88841cb0e4 Merge pull request #4283 from mitchellh/openstackhacks
builder/openstack: Add image visibility & members
2016-12-14 16:13:21 -08:00
Matthew Hooker
9c863cb081
update docs 2016-12-14 16:00:29 -08:00
Rickard von Essen
d3c2239b9e
builder/amazon: Change shutdown_behaviour to shutdown_behavior 2016-12-14 21:59:16 +01:00
Matthew Hooker
d0a3e956a8
docs to get ubuntu building correctly 2016-12-12 18:34:15 -08:00
Taliesin Sisson
143ac300bf headless is no longer used 2016-12-12 22:45:21 +00:00
Taliesin Sisson
24e9810c23 guest_os_type is no longer used 2016-12-12 22:45:21 +00:00
Taliesin Sisson
602c207f60 Make it clear iso is downloaded 2016-12-12 22:45:20 +00:00
Taliesin Sisson
7add6d3470 Add missing configuration elements.
Remove configuration elements that are no longer used.
2016-12-12 22:45:15 +00:00
Taliesin Sisson
3c1df5a791 Remove inconsistent "_mb" from ram size 2016-12-12 22:45:14 +00:00
Taliesin Sisson
55353fae89 Fix spelling mistake
Fix code type for formatting
Remove empty space
2016-12-12 22:45:09 +00:00
Taliesin Sisson
ffc7f3f3dc Address documentation layout and copy issues 2016-12-12 22:45:08 +00:00
Taliesin Sisson
c2d1f6b617 Added the ability to independently configure switch vlan. This will people to leave the switch in trunk mode and set a vlan for the vm. 2016-12-12 22:45:06 +00:00
Taliesin Sisson
b8554dad7d Add documentation for: enable_mac_spoofing, enable_dynamic_memory and enable_virtualization_extensions 2016-12-12 22:45:05 +00:00
Taliesin Sisson
9c53df1e0e Add special key modifiers to log output when used.
Update documentation to include new key modifiers.
2016-12-12 22:44:59 +00:00
Taliesin Sisson
8e18baf493 Use plain text password 2016-12-12 22:44:16 +00:00
Matthew Hooker
c510988cbf Merge pull request #4209 from bhcleek/ansible-winrm
provisioner/ansible: assume scp target is file (resolves winrm incompatibility)
2016-12-08 22:37:41 -08:00
Matthew Hooker
d3ddd99721 Merge pull request #4163 from StackPointCloud/packer-builder-oneandone
Packer Builder 1&1
2016-12-08 14:07:35 -08:00
Matthew Hooker
9e71730c38
Document changes to shell-local post-processor 2016-12-08 12:37:38 -08:00
Vasiliy Tolstov
332a208fee
post-processor/shell-local: run only once for each builder
don't run post-processor for each artifact file, but only for
each builder to be consistent with other post-processors

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-12-07 20:54:55 -08:00
Kerim Satirli
0fe41a29a0 updates quoting for amazon-ebs-volume.html.md 2016-12-07 09:31:09 +01:00
Kerim Satirli
73a50ff91f updates quoting for amazon-instance.html.md 2016-12-07 09:29:45 +01:00
Kerim Satirli
a31da3fb07 updates quoting for amazon-import.html.md 2016-12-07 09:27:46 +01:00
Kerim Satirli
74ed95511c highlights possible values instead of quoting them
Hello!

I updated a few values in this page to be highlighted instead of "quoted". I think this is in line with other values already existing on this page and should make the whole more consistent.

Happy to discuss if this needs changes!

This is a clean(er) version of PR 4255
2016-12-06 21:54:16 +01:00
Rickard von Essen
45bf1457db Added note about kms_key_id 2016-12-06 10:35:58 +01:00
Rickard von Essen
56f2bfa5ff Merge pull request #4243 from rickard-von-essen/aws-snapshot-users-groups
WIP: amazon: Add snapshot_users and snapshot_groups
2016-12-06 10:24:07 +01:00
Rickard von Essen
4ce3b8712a
Replace unencrypted EBS snapshots with encrypted
To ensure that groups and users attributes are added to the encrypted
snapshots.
2016-12-06 03:31:09 +01:00
Yorgos Saslis
069592f489 Fix typo
chef-cilent => chef-client
2016-12-05 16:31:36 +02:00
Rickard von Essen
c3a352955e amazon: Added snapshot_users and snapshot_groups 2016-12-04 16:03:01 +01:00
Ari Aviran
46f217f255 amazon - Snapshot permissions correctly applied
Fixes #3344
2016-12-04 16:03:01 +01:00
Troy Toman
12f279fa79 add ability to set a different project-id for a network in the googlecloud builder 2016-12-02 15:22:36 -06:00
poida
8b13b75097 Updated documentation and error messages
The docs for kms_key_id needed to be next to encrypt_boot.

Shortened some of the kms_key_id error messages.
2016-12-03 07:49:54 +11:00
poida
3eed6fd508 Added KMS CMK support to EBS builder
Added the 'kms_key_id' parameter. This supports supplying a customer master key (CMK) when encrypting the EBS volume.

The parameter is optional and only takes effect when 'encrypted' is true. When 'encrypted' is true but 'kms_key_id' is missing the 'aws/ebs' key will be used.
2016-12-03 07:49:34 +11:00
Matthew Hooker
6c6b38af79
don't need explicit span 2016-12-01 11:45:26 -08:00
Rickard von Essen
c2512d232a Merge pull request #4233 from ankon/pr/docker-ref-ecr
Point to the ECR section for more information on `ecr_login`
2016-12-01 18:51:41 +01:00
Andreas Kohn
f3e96c5c0a
Point to the ECR section for more information on ecr_login
Fixes #4218
2016-12-01 10:52:33 +01:00
Andreas Kohn
68e5baa74c
Fix the reference to the "Dockerfiles" section 2016-12-01 10:48:19 +01:00
Matthew Hooker
832de2104b
Revert "Merge pull request #4230 from mitchellh/revert-4223-closes_3320"
This reverts commit bda89b0c42, reversing
changes made to f9f9d82419.
2016-11-30 13:28:34 -08:00
Matthew Hooker
f5c3c25d2b Revert "Adds force_delete_snapshot flag" 2016-11-30 13:10:22 -08:00
Matthew Hooker
f9f9d82419 Merge pull request #4223 from artburkart/closes_3320
Adds `force_delete_snapshot` flag
2016-11-30 12:53:34 -08:00
Rickard von Essen
d8ef6d1977 Fixed formatting of source_ami_filter example 2016-11-30 12:32:46 +01:00
Arthur Burkart
5b59f56cdb Adds force_delete_snapshot flag
This PR adds the ability for Packer to clean up snapshots in addition to
deregistering AMIs at build time.

To test this, I used the following `test.json` file:

```json
{
  "builders": [
    {
      "type": "amazon-ebs",
      "region": "us-east-1",
      "source_ami": "ami-fce3c696",
      "ami_name": "packer-test",
      "instance_type": "m3.medium",
      "ssh_username": "ubuntu",
      "vpc_id": "some-vpc-id",
      "subnet_id": "some-subnet-routed-through-igw",
      "security_group_id": "some-security-group-with-port-22-access",
      "force_delete_snapshot": true
    }
  ],
  "provisioners": [
    {
      "type": "shell-local",
      "command": "echo 'hello'"
    }
  ]
}

```

I appreciate any constructive feedbakc that can be given. Cheers!
2016-11-29 23:39:36 -05:00
Zanetti, David
a0e179b556 Description on imported AMIs is not actually empty, it's set by AMI importer 2016-11-29 16:58:14 +13:00
Zanetti, David
c22b97dd43 Support setting AMI attributes when using amazon-import post-processor
- ami_user and ami_group for launch permissions
- ami_description to set the description attribute

Closes #3981
2016-11-29 16:54:02 +13:00
Matthew Hooker
6c546d4d1f Merge pull request #3982 from artburkart/close_1195
Support remote ova downloads
2016-11-28 18:49:50 -08:00
Matthew Hooker
2d5d598529 Update virtualbox-iso.html.md 2016-11-28 16:00:06 -08:00
Matthew Hooker
cd6b70a2b3 Update amazon-chroot.html.md 2016-11-28 12:41:22 -08:00
Arthur Burkart
1a0dc767f3 Rolls back partials work, but still consolidates
Since the packer website isn't yet ready to use middleman partials,
this commit rolls back the partials in favor of bringing parity to
each amazon docs page
2016-11-28 15:08:39 -05:00
Arthur Burkart
5499c37080 Adds add'l docs regarding delete_on_termination
This PR adds documentation pointing out that volumes are not by
default deleted on termination of any AWS EC2 instance during a
packer build.
2016-11-28 15:07:48 -05:00
Arthur Burkart
337856811e Implements OVA downloads w/local checksum support
Presumably, it is convention to store a manifest file with checksums
inside the OVA, so remote checksum support was not implemented.
2016-11-28 15:01:37 -05:00
Matthew Hooker
541a209f93
clarify docs for TRIM 2016-11-28 11:30:36 -08:00
Billie Cleek
f5ca0de225 provisioner/ansible: assume scp target is file
Assume the scp target is a file instead of a directory. Assuming the scp
target is a file instead of a directory allows uploading files to a node
being provisioned with the ssh communciator using sftp and with the
winrm communicator. It is fully compatible with ansible; ansible
communicators only allow for files (never directories) to be uploaded
(when the copy module is used to upload a directory, ansible walks the
directory and uploads files one at a time).

Update documentation to explain how to provision a Windows image.

Extend tests that use ssh to communicate with the node to include single
files, recursive copies, and content-only recursive copies.

Add test to verify support for the winrm communicator.

Remove the err argument from adapter.scpExec, because it was unused.

Fixes #3911
2016-11-26 14:40:39 -08:00
Rickard von Essen
e36b98ecd5 Merge pull request #4202 from nervo/docker-commit-changes
Introduce docker commit changes
2016-11-26 18:40:08 +01:00
Rickard von Essen
cb78cb331d
Documented author, changes, and message 2016-11-26 18:34:49 +01:00
Rickard von Essen
a09f20f996 Merge pull request #4015 from artburkart:closes_3908
Closes #3908: Adds snapshot tag overrides
2016-11-26 17:54:00 +01:00
Rickard von Essen
6947a74151 Merge pull request #4162 from classmarkets/google-source-image-family
builder/googlecompute: support source image family
2016-11-26 17:26:47 +01:00
JF Bibeau
529090aaa7 Docs: add QCOW2 format support for iso_url
Took some digging to realize that `iso_url` can actually take in a qcow2 or img format. This is fantastic and works great out of the box. I feel like adding the extra 2 lines of docs will help future users looking for this.
2016-11-24 14:18:38 -05:00
Matthew Hooker
a6e6b0dfd7 Merge pull request #4192 from mitchellh/manifestoutput
post-processor/manifest: fixes interpolation of output
2016-11-22 12:51:27 -08:00
Matthew Hooker
622813053e Merge pull request #4144 from mitchellh/filenamespaces
quote file names so account for spaces
2016-11-21 16:45:52 -08:00
Matthew Hooker
a05817ee26
fix docs, remove escaping 2016-11-21 16:36:10 -08:00
Matthew Hooker
70ca8486ba
update docs 2016-11-21 15:35:57 -08:00
jasminSPC
a239407093 Typo fix 2016-11-21 23:02:53 +01:00
Rickard von Essen
d3b39ae28f
Unified the docs for floppy_files 2016-11-21 20:50:26 +01:00
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
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
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
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
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
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
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
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
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
nouney
ed32b6e3c6 provisioner/file: document "generated" key. 2016-09-15 22:51:27 +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
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
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
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
tubadude49
14c73a837d Plural 2016-08-09 16:24:17 -05: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
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
George Robinson
75dc729182 Add Debian 8.4 to gotchas for google compute builder 2016-06-02 14:48:35 +01: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
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
Chris Bednarski
f28d8a18c5 Added documentation for ATLAS_CA* environment variables 2016-05-03 17:19:12 -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
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
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
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
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
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
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
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
Marc Abramowitz
dec48aa9c1 Add example of conditional provisioner
to user-variable docs
2016-01-22 10:38:25 -08:00
Tyler Tidman
520e0fb7f5 Use monospaced-font for remote_path and start_retry_timeout string defaults 2016-01-22 12:46:00 -05:00
Chris Bednarski
1a5d5acea4 Merge pull request #2737 from jen20/ebs-volume-tags
Tag EBS volumes with volume_tags in EBS builder
2016-01-21 13:29:49 -08:00
Chris Bednarski
9dc4c0a7d1 Merge pull request #2761 from stagrlee/master
More documentation for ssh_keypair_name,  ssh_private_key_file
2016-01-21 13:27:36 -08:00
Brent Rojas
88c40c5d41 Update push.html.markdown
Remove unneeded word.
2016-01-19 21:54:32 -08:00
Chris Bednarski
46e36a3528 Merge pull request #2703 from kpettijohn/chef-client-local-mode-example
docs: chef-client local mode example
2016-01-14 17:29:22 -08:00
Chris Bednarski
295bf847db Merge pull request #3066 from dave2/gh-3052
Update docs to reflect current AMI IDs and instance sizes
2016-01-14 17:23:49 -08:00
Chris Bednarski
d61871c71b Merge pull request #2878 from mitchellh/b-remove-push-m
Deprecate push -m
2016-01-14 17:18:27 -08:00
Seth Vargo
174237ba2f Use www. for project sites 2016-01-14 15:33:00 -05:00
Seth Vargo
c0b46b2fb8 Use SSL for resources 2016-01-14 15:31:19 -05:00
Chris Bednarski
61aea5f123 Merge pull request #2912 from esemplare/esxi_ssh_key_support
Add support for SSH Key Authentication with ESX builder
2016-01-13 14:33:10 -08:00
Chris Bednarski
3eabc6253d Merge pull request #2653 from evertrue/evertrue/eherot/add_data_bag_secret_to_chef_client
Chef-client provisioner: Add encrypted data bag secret path (Fixes #1945)
2016-01-13 13:59:48 -08:00
Chris Bednarski
a63e7ac482 Merge pull request #3065 from clstokes/docs-aws-ecr
Add Amazon EC2 Container Registry details.
2016-01-13 13:54:37 -08:00
David Zanetti
0369b8e7c0 Update docs to reflect current AMI IDs and instance sizes
- Using Ubuntu-supported image, 14.04 LTS current, for us-east-1
- t1.micro no longer exists, t2.micro replaces it
- Raised in issue #3052
2016-01-14 10:52:17 +13:00
Luke Amdor
213d72a2bb Add required DescribeSubnets IAM permission
From https://github.com/mitchellh/packer/pull/3037, building an AMI now requires DescribeSubnets so we should document that.
2016-01-13 13:46:20 -06:00
Cameron Stokes
497f1aa66f Add Amazon EC2 Container Registry details. 2016-01-13 08:24:32 -08:00
Chris Bednarski
f1d6fbb8c4 Merge pull request #3030 from caiush/gce-external-static-ip
Added support for GCE external static IPs
2016-01-12 19:36:32 -08:00
Chris Bednarski
b90a5bd59a Merge pull request #3055 from tylert/doc-fix
Fix typo in shell-local command example
2016-01-12 18:55:17 -08:00
Ben Goodwin
64152e4a64 Implement WinRM-over-HTTPS 2016-01-12 21:28:20 -05:00
Tyler Tidman
5a4b81fa3c Fix typo in shell-local command example 2016-01-11 10:58:01 -05:00
Kimo Rosenbaum
09543fc4e7 Add mount_partition to amazon-chroot builder to specify a partition other than 1 2016-01-06 11:35:01 -08:00
Caius Howcroft
0f8b348fca Added docs for GCE external static IPs 2016-01-04 16:29:11 -06:00
Chris Bednarski
e9be2cff2b Merge pull request #2942 from dave2/shell_noclean
Add "skip_clean" boolean to shell provisioner.
2015-12-18 11:35:47 -05:00
Chris Peterson
c8ff4a5230 Clarify the need to specify device_name when setting volume_size in Amazon builder. refs #2798 2015-12-17 14:52:54 -07:00
Chris Bednarski
00ea5ff7de Merge pull request #2982 from minimum2scp/features/support-googlecompute-preemptible
Added support of preemptible instance in googlecompute builder
2015-12-14 14:34:09 -08:00
Chris Bednarski
7c12c03b80 Merge pull request #2988 from BetaGrumm/patch-1
Update file.html.markdown
2015-12-09 14:32:15 -08:00
Ian Duffy
7271b6ac8d Add documentation for config_drive
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2015-12-09 22:28:47 +00:00
BetaGrumm
4b88403690 Update file.html.markdown
Fixed typo: Missing "i" in the word "will".
2015-12-09 11:49:04 -08:00
YAMADA Tsuyoshi
ca43e89aa7 added document 2015-12-05 15:48:10 +09:00
Chris Bednarski
692b227ac3 Merge pull request #2963 from pepoirot/ansible-provisioner-notice
Add a notice that Ansible needs to be already present on the target.
2015-12-04 12:06:31 -08:00
Chris Bednarski
858bf27eb2 Merge pull request #2965 from chiastolite/patch-1
ansible-local doc is not styled
2015-12-04 12:06:11 -08:00
Cameron Stokes
adf4764c82 note about Quay login credentials 2015-12-02 19:06:37 -08:00
Cameron Stokes
051f7d6ee6 note about Docker Hub login requirements 2015-12-02 18:59:34 -08:00
David Zanetti
873dc89478 Accept any OVA. Fix names for tasks/import/copy. Update docs.
- s3_key_name is now optional, default is equivilent to
  "packer-import-{{timestamp}}"
- Remove restriction on builder used, anything producing an OVA is okay
- Fix task and ova description passed to import API call, correctly
  adds timestamp to both
- Documentation updated
  - Remove VMware-specific text
  - Mark s3_key_name as optional
  - Remove s3_key_name from example now it's optional
  - Explain the import process more clearly in example
2015-11-25 10:06:35 +13:00
Hiroyuki MORITA
d67d2b9d6b ansible-local doc is not styled
https://www.packer.io/docs/provisioners/ansible-local.html#inventory_file
2015-11-25 03:39:06 +09:00
Sergey Bronnikov
4baaad2530 duplicated word 2015-11-24 10:31:31 +03:00
David Zanetti
8c04f1646b Expand and update amazon-import documentation
- Add example of usage
- Expand on how it works
- Correctly reflect the hard requirement for AWS access keys and region
- Add tag support documentation
2015-11-24 13:54:05 +13:00
David Zanetti
258fd7c6b6 First cut at documentation for post-processor amazon-import 2015-11-24 12:19:20 +13:00
Pierre-Etienne Poirot
bb34c7ec58 Add a notice that Ansible needs to be already present on the target.
Like the 'puppet-masterless' and 'puppet-server' provisioners (and
unlike the 'chef-solo' and 'chef-client' provisioners), the
'ansible-local' currently requires Ansible to be present on the
provisioned image.

The relevant issue to add an install option to the provisioner is:
https://github.com/mitchellh/packer/issues/2010

Until then, a notice similar to the 'puppet-masterless' and
'puppet-server' ones is added.
2015-11-23 14:19:15 +11:00
David Zanetti
6c121fa35b Change shell doc from 'noclean' to 'skip_clean' 2015-11-19 16:06:59 +13:00
David Zanetti
bdf68c14a8 Update documentation of shell remote_path variable
It is not a path as implied by docs, but a specific filename.
Update default to currently implemented default.
2015-11-17 16:01:28 +13:00
David Zanetti
3d23655f2f Add "noclean" boolean to shell provisioner. This stops the provisioner from
attempting to remove helper scripts it creates. As noted on #2803 this can
be useful when deleting the build user from an AMI or other template.
2015-11-16 16:37:09 +13:00
michael
665d7362f4 Update documentation for remote SSH Key Authentication 2015-11-13 17:43:22 -08:00
Jake Champlin
49ded7f79f Grammar change 2015-11-13 13:57:52 -05:00
Jake Champlin
912111ca42 Add full example and link to Atlas Post Processor 2015-11-12 18:32:31 -05:00
Jake Champlin
ed86277714 Update Post-Processor Docs
Update Post-Processor docs to clarify sequences in packer templates.
2015-11-12 18:06:10 -05:00
Greg Baker
6490e4c608 Updated the language of floppy documentation to increase clarity
Changed the language of the vmware-iso floppy documentation to make is clearer that the deprecated ks=floppy syntax is a result of changes to Anaconda.
2015-11-11 10:01:12 -06:00
Greg Baker
424edc8253 Added alternative floppy boot command syntax
The vmware-iso example configuration to load a Kickstart configuration file off of a mounted floppy image is not valid for recent versions of Linux including RHEL7.  The version of Anaconda used no longer supports ks=floppy.

This commit adds an alternative syntax that users can use with more recent version of Linux to source a Kickstart file from a mounted floppy image.
2015-11-10 15:46:15 -06:00
Chris Bednarski
08f275c9de Merge pull request #2910 from Rican7/feature/puppet-masterless-provision-execute-options-config
Feature - Adding a new `options` config parameter to Puppet (masterless) provisionining
2015-11-04 11:27:07 -08:00
Mark Peek
6f8f42a382 Merge pull request #2904 from rodriguezsergio/patch-1
provisioner/salt-masterless: add "disable_sudo" configuration documentation reference
2015-11-04 07:32:21 -08:00
Trevor Suarez
627a8fe819 Renaming the config parameter from "options"
to "extra_arguments"
2015-11-03 17:55:03 -05:00
Trevor Suarez
e41f0bb9f5 Adding documentation for the new configuration
parameter
2015-11-03 13:55:40 -05:00
Barrie Bremner
61c98bb701 Doc change only: misspelling of 'termination' 2015-11-03 14:53:26 +00:00
Sergio Rodriguez
b34525358d add "disable_sudo" configuration reference 2015-11-02 16:35:07 -05:00
Seth Vargo
c1b8068000 Merge pull request #2880 from grubernaut/d-cloud-init-delay
Update Packer Debug Docs for Cloud-Init Issue
2015-11-02 13:05:17 -05:00
Mark Peek
c2fd83e04c Merge pull request #2748 from vtolstov/qcow2
add shrink step for qcow2 image format
2015-10-31 18:13:04 -07:00
Billie H. Cleek
cc8ca3098e add ansible provisioner 2015-10-31 10:39:33 -07:00
Jason Martin
62bcf6c7ce Add IAM policy for copying images
The ec2:CopyImage privilege is required in order to make a cross-region AMI when using the  `ami_regions` option for the amazon-ebs builder.
2015-10-30 13:19:44 -07:00
Vasiliy Tolstov
8e1cc16ab5 add convert step for qcow2 image format
https://ext4.wiki.kernel.org/index.php/Ext4_VM_Images does not
recommends to dd zero file and deletes it, but in case of enabling
discards and qcow2 image we can recreate qcow2 file with less used
space.
Also qemu-img able to enable compression for qcow2 files, that
sometimes may be useful because it natively supported by qemu.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-10-29 12:27:46 +00:00
Eloy Coto
63d21ec9f3 Vsphere post-processor: Fix merge problems 2015-10-29 10:21:30 +00:00
Eloy Coto
0bc042a15c Post-Processor/Vsphere: Added custom options 2015-10-29 09:35:03 +00:00
Eloy Coto
34f163ce87 Post-Processor/Vsphere: Added overwrite option 2015-10-29 09:35:03 +00:00
Jake Champlin
6af2fd5bd0 Update Packer Debug Docs for Cloud-Init Issue
Update documentation to make official note of the cloud-init issue with
ubuntu AMIs.
2015-10-28 16:10:27 -04:00
Cameron Stokes
a9df89df15 Change amazon.ami to amazon.image.
... to be consistent with https://github.com/hashicorp/terraform/pull/3195.
2015-10-27 20:45:08 -07:00
Chris Bednarski
0e9cd5caa9 Remove push -m from the docs 2015-10-27 18:35:37 -07:00
Timothy Sutton
9f66dbbde7 Fixed page_title for Artifice post-processor 2015-10-27 15:47:05 -04:00
Mark Peek
4e1e9b788a Merge pull request #2845 from abridgett/feature/spot_price_zero
spot_price of "0" to mean on demand
2015-10-26 21:51:44 -07:00
Mark Peek
6951c6824b Merge pull request #2688 from mitchellh/docs-aws-session-token
Changed AWS_SECURITY_TOKEN to AWS_SESSION_TOKEN
2015-10-23 17:46:32 -07:00
Mark Peek
62fd4df0a7 Merge pull request #2684 from mitchellh/docs-atlas-names
Added a note to the push docs about dot being disallowed in atlas names
2015-10-23 17:46:24 -07:00
Yuya Kusakabe
699c673536 builder/vmware-esxi: Add step_export
If `format` option is configured, packer exports the VM with ovftool.

website: Document about OVF Tool and `format` option.

post-processor/vsphere: Enable to use `mitchellh.vmware-esx` artifact type and OVF and OVA formats, fixes #1457.
2015-10-23 09:00:53 +09:00
Jearvon Dharrie
5ee224fe6a Remove the word obviously 2015-10-21 13:41:49 -04:00
Mark Peek
e9657e6a9f Merge pull request #2642 from oliviertremblay/master
Make TargetPath customizable
2015-10-20 12:11:13 -07:00
Mark Peek
813a66fc2e Merge pull request #2844 from ruslansalikhov/patch-1
Fixing DigitalOcean documentation urls
2015-10-18 14:35:58 -07:00
Mark Peek
768ca5e7b5 Merge branch 'master' of https://github.com/Cbeck527/packer 2015-10-18 14:33:55 -07:00
Mark Peek
135a607fb4 Merge pull request #2745 from jessehub/master
documentation - indent ami_block_device_mappings keys
2015-10-18 11:44:47 -07:00
Ruslan Salikhov
e6df3e07a0 Fixing DigitalOcean documentation urls
Fixed inserting %5C into links to digitalocean resources.
2015-10-18 23:36:57 +05:00
Mark Peek
edda3de677 Merge pull request #2806 from abridgett/feature/add_ebs_optimized_support
Add ebs_optimized support
2015-10-18 11:31:50 -07:00
Mark Peek
22b7351489 Merge pull request #2804 from zyegfryed/patch-2
Fix ansible inventory example
2015-10-15 11:24:23 -07:00
Eric Johnson
96d522fb64 Merge pull request #2811 from sparkprime/verbatim_account
account_file can be verbatim JSON string
2015-10-12 15:57:52 -07:00
Mark Peek
23d5e50600 Merge pull request #2790 from dragon788/patch-1
Added correct format for compression_level
2015-10-08 15:33:44 -07:00
Chris Bednarski
bd82df7aa1 Merge pull request #2712 from bensojona/f-document-artifact-types
Document recommended artifact-types
2015-10-08 14:34:17 -07:00
Dave Cunningham
1fea962a3a account_file can be verbatim JSON string 2015-10-08 02:40:18 -04:00
Adrian Bridgett
da771c469e spot_price of "0" to mean on demand
this helps avoid duplicating packer templates just to select
spot instances or not
2015-10-06 22:13:17 +01:00
Adrian Bridgett
8349e22df9 Add ebs_optimized support 2015-10-06 21:36:21 +01:00
Sébastien Fievet
3495204382 Fix ansible inventory example 2015-10-06 15:04:04 +02:00
Chris Becker
647a072257 Fix template error on ansible provisioner documentation 2015-10-05 13:19:21 -04:00
Mark Peek
2411c779d1 Make qemu ssh_wait_timeout example more reasonable 2015-10-01 22:52:06 -07:00
Shawn Neal
7195b2f35b Add Windows to Chef provisioner documentation 2015-10-01 10:04:59 -07:00
dragon788
c48e2319ab Added correct format for compression_level 2015-09-30 20:40:58 -05:00
Robin Kearney
87f2f7c96d Confusing to specify this twice 2015-09-30 13:13:46 +01:00
Eric Herot
5091f0a221 Add documentation about the encrypted data bag secret flag to the Chef Client provisioners section 2015-09-29 14:52:49 -04:00
Lee Thompson
cef4e88922 Add some more documentation around ssh_keypair_name and ssh_private_key_file 2015-09-21 13:52:18 -05:00
Rickard von Essen
3f14b9d984 Merge pull request #2731 from legal90/prl-compact-disk
Parallels: Add "CompactDisk" build step
2015-09-16 14:03:31 +02:00
Rickard von Essen
b528811540 Merge pull request #2662 from rickard-von-essen/prl_pd11
Parallels Desktop 11: verify correct edition and enable headless mode
2015-09-16 13:34:05 +02:00
Jesse Callaway
7def47f376 indent ami_block_device_mappings subkeys 2015-09-15 10:33:44 -04:00
James Nugent
632d38a1c5 Tag EBS volumes with volume_tags in EBS builder
This change allows specification of a new "volume_tags" array in the
amazon-ebs builder in order to allow tagging of volumes used on the
source instance. It is implemented as a new step which is skipped if
there are no tags specified.
2015-09-11 16:39:34 -04:00
Mikhail Zholobov
36a6fc2cc4 website/docs: Add description of "skip_compaction" option for Parallels builders 2015-09-11 16:13:39 +03:00
Jon Benson
dd286ff63c Add artifact_types 2015-09-08 12:51:24 -05:00
Jon Benson
673baa12d0 Add vmware and virtual box to artifact_types 2015-09-04 15:08:27 -05:00
Jon Benson
5e27f9353f Document recommended artifact_type 2015-09-04 15:01:35 -05:00
Jon Benson
dbd1a13f0d Document recommended artifact-types 2015-09-04 14:51:35 -05:00
Kevin Pettijohn
3034e12e5a Pandoc formating 2015-09-01 09:20:52 -07:00
Kevin Pettijohn
0950eac836 Add a chef-client local mode example
* Configure the `chef-client` provisioner for local mode
* Provide an example run_list
2015-08-31 19:54:18 -07:00
Chris Bednarski
5c7481362c Changed AWS_SECURITY_TOKEN to AWS_SESSION_TOKEN
Fixes #2687
2015-08-27 14:35:54 -07:00
Chris Bednarski
c834a00e22 Added a name validator to the push command 2015-08-26 12:16:18 -07:00
Chris Bednarski
0d973145f5 Added a note to the push docs about dot being disallowed in atlas names 2015-08-26 12:00:13 -07:00
Lantrix
1fe44b6624 Powershell debugging options as per Issue #2550 2015-08-24 17:32:01 +10:00
Rickard von Essen
7d3afc882a Add check for Parallels Desktop edition in PD 11.
Starting since Parallels Desktop 11, the command line functionality is
available only in Pro and Business editions.
2015-08-22 13:15:59 +02:00
Chris Bednarski
f725cf1a4b Correct docs for qemu vm_name 2015-08-21 17:10:56 -07:00
Tim Smith
14b39c5b51 Opscode -> Chef
Basic company name update
2015-08-20 16:26:18 -07:00
Chris Bednarski
244500c667 Merge pull request #2636 from mitchellh/docs-checkpoint
Added docs for checkpoint
2015-08-20 14:23:49 -07:00
Olivier Tremblay
6644f57160 Merge branch 'master' into custom-targetpath 2015-08-20 08:20:55 -04:00
Olivier Tremblay
f301a6454d Added documentation, renamed config param to iso_target_path 2015-08-20 07:37:24 -04:00
Chris Bednarski
8f7f82334a Merge pull request #2628 from mitchellh/b-docker-export-validation
Improve artifact validation for docker builder
2015-08-19 13:12:34 -07:00
Chris Bednarski
8d8e320e8c Added docs for checkpoint 2015-08-19 13:01:55 -07:00
Chris Bednarski
d367b8b521 If is customized no file extension is added. The documentation has been updated to reflect this. 2015-08-18 17:43:59 -07:00
Chris Bednarski
ffef8efaf4 Added docs for discard; clarify mutual exclusivity between commit, discard, and export_path 2015-08-18 16:47:58 -07:00
Chris Bednarski
d96b426a6d Clarify use-case and example for floppy preseed 2015-08-17 14:56:26 -07:00
Alvaro Miranda
f54940d9e8 note about floppy on ESXi
note about floppy on ESXi
2015-08-17 22:15:26 +12:00
Chris Bednarski
4416954461 Corrected the meta text on the artifice page. 2015-08-10 10:25:19 -07:00
Toni Ylenius
c316dee9f7 Typo in OpenStack builder doc 2015-08-10 16:43:15 +03:00
Toni Ylenius
cbb2b538bd Support source_image_name in OpenStack builder
As gophercloud supports source_image_name let's allow that in builder
configuration also. This an alternative way of providing source_image.
2015-08-10 16:37:22 +03:00
Chris Bednarski
16d7e7542a Added docs for artifice 2015-08-07 20:10:17 -07:00
Chris Bednarski
100d2b1148 Merge pull request #2501 from mitchellh/docs-revamp-content
[WIP] Update packer docs related to Atlas
2015-08-07 17:43:26 -07:00
Chris Bednarski
acc1aa0613 Merge pull request #2556 from mitchellh/b-2414
Add interpolation for .BuildName in compress output filename
2015-08-07 13:18:01 -07:00
Chris Bednarski
211817c78e Fix formatting for code block in docs 2015-08-06 16:52:30 -07:00
Chris Bednarski
a4e8a92a13 Merge pull request #2564 from clstokes/docs-misspelling
Fix 'ephemeral' misspelling.
2015-08-06 09:30:31 -07:00
Cameron Stokes
94c12c9afc Fix 'ephemeral' misspelling. 2015-08-06 09:27:38 -07:00
Chris Bednarski
02273207df Reformat and merge 2015-08-05 16:33:49 -07:00
Bryce Fisher-Fleig
e7ab9fb3c0 Add missing option 2015-08-05 15:28:20 -07:00
Chris Bednarski
1c956ff406 Removed errant backtick 2015-08-04 20:11:53 -07:00
Chris Bednarski
8f2a9de28e Updated documentation explaining how to use variables in compress post-processor filenames 2015-08-04 19:46:14 -07:00
Chris Bednarski
07eff4c014 Reformat docs 2015-08-03 11:32:54 -07:00
Tyler Tidman
db1a781b6e Rename .html.md files to .html.markdown
Fixes #2546.  Make files under website/source/docs/provisioners conform to
standards for rest of docs.
2015-08-03 13:02:01 -04:00
Dane Elwell
e0d46685ea Document remote_port option 2015-08-03 17:53:33 +01:00
Chris Bednarski
3c517a65c3 Autoreformat 2015-07-30 21:16:11 -07:00
Chris Bednarski
84abbc2fe2 Merge pull request #2519 from BayanGroup/salt-remote-dirs
Add options to specify salt remote dirs
2015-07-30 19:06:59 -07:00
Chris Bednarski
5218c5a65b Reformat 2015-07-30 16:09:40 -07:00
Chris Bednarski
66b7b9a0b7 Added a section to explain more clearly how to reference external resources like boot ISOs 2015-07-30 15:58:12 -07:00
Chris Bednarski
28d1295460 Merge branch 'openstack_metadata' of https://github.com/trumant/packer into trumant-openstack_metadata 2015-07-30 14:38:03 -07:00
Chris Bednarski
ecc1c4dcc8 Merge pull request #2517 from BayanGroup/docs
Revise documentation for minion config
2015-07-28 18:35:16 -07:00
Chris Bednarski
1420e2494c Added note on 5g upload limit, and workaround 2015-07-28 16:24:43 -07:00
Chris Bednarski
0c7654358a Reformat 2015-07-28 15:30:32 -07:00
Chris Bednarski
8741a6df23 Renamed .markdown to .html.markdown to be consistent with other filenames 2015-07-28 15:29:20 -07:00
AmirAli Moinfar
63be0e3ea1 Add documentation for salt remote directories 2015-07-28 10:39:31 +04:30
AmirAli Moinfar
b88afbf3c9 Revise documentation for minion config
* Update link to salt minion config.
* Clarify that minion config is a file.
2015-07-28 10:36:04 +04:30
Patrick Lucas
73a157b78d builder/googlecompute: Document use_internal_ip 2015-07-27 19:32:22 -07:00
Alfonso Acosta
a59c82d7a6 Add sftp file transfer support
Adds a new config option: "ssh_file_transfer_method", which can be set to "scp"
or "sftp" (defaults to "scp")
2015-07-26 23:49:18 +00:00
Chris Bednarski
e0be4efefe Make the anchor work with reformat 2015-07-24 21:00:24 -07:00
Chris Bednarski
54afe10ad1 Make the anchor work with the reformatter 2015-07-24 20:59:40 -07:00
Chris Bednarski
7a1bc43c58 Merge branch 'docs-revamp' into docs-revamp-content 2015-07-24 20:55:31 -07:00
Chris Bednarski
3fe2d2f5bc Reformat 2015-07-24 20:55:08 -07:00
Chris Bednarski
99061b96d6 Merge branch 'master' into docs-revamp 2015-07-24 20:54:37 -07:00
Chris Bednarski
c3e39c2f0d Updated docs on how AWS credentials are resolved 2015-07-24 20:38:14 -07:00
Chris Bednarski
972af2c4cc Merge pull request #2482 from tb3088/doc_aws-creds
Document behavior of AWS {access,secret}_key in relation to credentia…
2015-07-24 19:40:45 -07:00
Chris Bednarski
b533a4b833 Added a note on permissions required for IAM roles. Thanks @bmatsuo 2015-07-24 18:55:36 -07:00
Chris Bednarski
30850b851d Reformat 2015-07-24 14:54:46 -07:00
Chris Bednarski
a77ee557ac Starting rework of atlas post-processor page 2015-07-24 14:49:22 -07:00
Chris Bednarski
1e9459a067 Changed push docs to more clearly explain how they work with Atlas 2015-07-23 00:02:18 -07:00
Chris Bednarski
d8e8f98b32 Change to 4 spaces 2015-07-22 20:25:58 -07:00
Chris Bednarski
555a8ba792 Change two blanks to one blank after numbered list item 2015-07-22 20:22:50 -07:00
Chris Bednarski
d57c051651 Reformat everything 2015-07-22 19:31:00 -07:00
Jack Pearkes
feb2db7b01 website: remove packer push var interpolation
This removes a message that is no longer accurate and fixed in https://github.com/mitchellh/packer/issues/1861
2015-07-22 14:05:10 -07:00
Matthew Patton
9007b1cc67 Document behavior of AWS {access,secret}_key in relation to credentials file and profile lookup via AWS_PROFILE 2015-07-21 17:24:55 -04:00
Chris Bednarski
2010a0c966 Merge pull request #2475 from tylert/gh-2474-fix-docs-uint-int-integer-and-wrap-long-lines
Fixes #2474:  Replace use of 'int' and 'uint' in website docs with 'integer' and wrap long lines
2015-07-19 21:48:22 -07:00
Chris Bednarski
ee2e039671 Merge pull request #2417 from zakuro9715/docs-docker-tag-force
Add description of force option for docker-tag
2015-07-19 21:34:12 -07:00
Tyler Tidman
3139d3d2c5 Fixes #2474: Replace use of 'int' and 'uint' in website docs with 'integer' and wrap long lines 2015-07-19 10:56:00 -04:00
Chris Bednarski
ac75d5329e Merge pull request #2463 from mitchellh/b-2373
Make manifest_file work as either file.pp or a directory
2015-07-17 12:07:08 -07:00
Chris Bednarski
37c20e2bf0 Added links to puppet docs to clarify behavior of manifest with multiple files 2015-07-17 12:06:20 -07:00
Tyler Tidman
bb6db46962 Cull duplicate word 'values' for disk_cache description 2015-07-17 12:20:57 -04:00
Tyler Tidman
d8cde46e76 Add missing default values for 'disk_cache' and 'disk_discard' in qemu builder docs, sort qemu_binary before qemuargs so it matches ordering from 'packer fix' 2015-07-17 12:10:22 -04:00
Chris Bednarski
518ad704b7 Added notes to warn against manifest_dir and note that manifest_file can be overloaded with a directory 2015-07-16 18:18:59 -07:00
Travis Truman
988cf2fecf Fixes #2434 by adding OpenStack Glance metadata support 2015-07-15 21:31:13 -04:00
Chris Bednarski
f27505626f Formatting tweak for ansible docs 2015-07-15 13:09:56 -07:00
Chris Bednarski
9b97726621 Merge branch 'documentation/ansible_inventory_groups' of https://github.com/Cbeck527/packer into b-ansible-inventory-docs 2015-07-15 13:09:04 -07:00
Chris Bednarski
a49f263e90 Merge pull request #2418 from zakuro9715/fix-inconsistent-spelling
Fix inconsistent spelling
2015-07-15 13:03:39 -07:00
Chris Becker
6343d8f16a Update inventory_groups documentation for clarity 2015-07-14 21:53:38 -04:00
Walter Dolce
0c0ff5a25b Remove third 's' from word 2015-07-12 14:50:04 +01:00
YuZakuro
a6269671ec Fix inconsistent spelling
`(boolean)` is used in most cases, but `(bool)` is used in places.

I ran `find website/source/**/*.(markdown|md) | xargs sed -i 's/(bool)/(boolean)/g'`
2015-07-09 18:20:13 +09:00
YuZakuro
315ad54834 Add description of force option for docker-tag 2015-07-09 17:40:34 +09:00
Tyler Tidman
c416f6e14b Remove ssh_wait_timeout from doc basic examples for virtualbox/vmware builders. Fixes GH-2382. 2015-07-02 17:37:03 -04:00
Christian Mayer
ebd4cb761d Fix NULL builder config documentation.
Change from "host" to "ssh_host" was introduced in d545431f9b
2015-07-01 10:46:47 +02:00
Mitchell Hashimoto
8fd673ff9f Merge pull request #2364 from tdg5/explicit_docker_pp_sequencing
website: Be more explicit about sequence definition usage in docker builder docs
2015-06-30 10:07:17 -07:00
Danny Guinther
d1961e782b Be more explicit about sequence definition usage in docker builder docs 2015-06-30 08:33:01 -04:00
Chris Bednarski
6c2e6c41d9 Added an example using tcsh with shell provisioner; reworded some of the execute_command docs 2015-06-29 17:06:49 -07:00
Mitchell Hashimoto
1b9d0dcddd Merge pull request #2321 from acranox/chef-client-docs
website: Update docs for default configuration template
2015-06-29 09:33:48 -07:00
Mitchell Hashimoto
21d50916b6 Merge pull request #2335 from mitchellh/b-vagrantcloud-docs
website: Update some docs to point to Atlas instead of Vagrant Cloud
2015-06-29 09:23:50 -07:00
Ben Wen
aa84f9eeb5 Tips for debugging a build. 2015-06-26 15:18:45 -07:00
Chris Bednarski
355364ce4c Change some outdate references to Vagrant Cloud to point to Atlas instead 2015-06-26 14:59:01 -07:00
Chris Bednarski
daf563e210 Change aws.ami to amazon.ami to be consistent with usage in terraform 2015-06-26 10:22:15 -07:00
Peter Doherty
5896d96bdb Update docs for default configuration template
Update docs for default configuration template for the chef-client provisioner, to reflect the ability to set a custom validation_client_name
2015-06-25 16:03:24 -04:00
Clint Shryock
def6f8aefc clean up character encodings 2015-06-24 10:28:01 -05:00
Mitchell Hashimoto
a019575026 helper/communicator: support disabling SSH agent 2015-06-23 14:52:37 -07:00
Mitchell Hashimoto
c0bc74990b website: note SSH forwarding 2015-06-23 14:49:36 -07:00
Mitchell Hashimoto
3cc90768a2 website: update docs to link to communicator 2015-06-23 14:44:57 -07:00
Mitchell Hashimoto
4244a6ce8d website: communicator section 2015-06-23 14:39:29 -07:00
Clint Shryock
24106de378 builder/amazon-chroot: document mount_options config 2015-06-23 11:31:43 -05:00
Clint
3884555007 Merge pull request #2289 from mitchellh/b-amazon-chroot-fixes
builder/amazon-chroot: various fixing and debugging of chroot builder
2015-06-23 10:53:02 -05:00
Clint Shryock
44dc977cb8 document root_volume_resize for amazon-chroot 2015-06-23 10:52:42 -05:00
Mitchell Hashimoto
13c2c4660d Merge branch 'issue_2080' of https://github.com/rickard-von-essen/packer into rickard-von-essen-issue_2080 2015-06-22 12:39:30 -07:00
Mitchell Hashimoto
11e325738b Merge branch 'ansible-inventory-groups' of https://github.com/lyrixx/packer into lyrixx-ansible-inventory-groups 2015-06-22 12:35:50 -07:00
Mitchell Hashimoto
4dc4fa81b9 Merge pull request #2288 from sgirones/feature/vsphere_specify_host_dest
[vsphere post processor] Make ResourcePool optional. Upload the template to an specific host
2015-06-22 12:21:06 -07:00
Mitchell Hashimoto
0e8036a023 Merge pull request #2283 from mitchellh/f-local-shell
Local shell provisioner
2015-06-22 12:18:48 -07:00
Clint
6579219013 Merge pull request #2282 from mitchellh/f-amazon-cleanup-volumes
builder/amazon-ebs: Clean up orphan volumes
2015-06-22 12:56:26 -05:00
Salvador Girones
6cb51f21de Make ResourcePool optional 2015-06-22 10:13:49 -07:00
Clint Shryock
93b5ae5b3c fix typo 2015-06-22 10:33:35 -05:00
Mitchell Hashimoto
d5c0f13d8f website: document local shell 2015-06-19 15:31:17 -07:00
Clint Shryock
7165156b64 add note on EBS cleanup behavior 2015-06-19 16:06:09 -05:00
Mitchell Hashimoto
ed4acbc903 update CHANGELOG 2015-06-19 06:09:22 +02:00
Chris Bednarski
1edbbd80bf Merge pull request #2205 from mitchellh/f-vtolstov-compress
Added new compress post-processor from Vasiliy Tolstov
2015-06-18 19:09:44 -07:00
Joel Scoble
301bd8ceb2 update the documented datatype for facter to 'object of key/value strings' for both puppet provisioners 2015-06-18 14:14:36 -05:00
Chris Bednarski
f06847ff10 Merge branch 'master' into f-vtolstov-compress 2015-06-18 05:19:30 -07:00
Chris Bednarski
9cd572461d Updated docs, fix artifact bug 2015-06-18 05:13:48 -07:00
Chris Bednarski
b767aa7f99 Change to compression_level, fix and add tests for format detection 2015-06-18 03:55:51 -07:00
Chris Bednarski
8fdb4f77e0 WIP 2/4 tests passing, still need to re-implement ZIP and bare compression files and do some cleanup 2015-06-18 00:47:33 -07:00
Mitchell Hashimoto
b20e26be17 website: update docs for ami_groups claritifaction [GH-1068] 2015-06-17 22:30:57 +02:00
Mitchell Hashimoto
889b5b6105 website: update vsphere 2015-06-17 22:21:04 +02:00
Mitchell Hashimoto
49769a17c2 Merge pull request #2243 from mitchellh/f-powershell
Windows provisioners: powershell, windows-shell, windows-restart
2015-06-17 17:51:42 +02:00
Kerim Satirli
97e94eda77 adds missing comma
The `parallels_tools_flavor` key-value pair is missing a trailing comma, thereby making it invalid JSON.
2015-06-16 09:18:59 +02:00
Mitchell Hashimoto
6cda4fa548 Merge branch 'default_facts' of https://github.com/danzilio/packer into danzilio-default_facts 2015-06-15 15:29:23 -07:00
Mitchell Hashimoto
2bb4bdffc4 website: update docs for ssh_keypair_name 2015-06-15 15:23:38 -07:00
Mitchell Hashimoto
65916514c0 Merge branch 'puppet_working_dir' of https://github.com/ColinHebert/packer into ColinHebert-puppet_working_dir 2015-06-15 15:17:45 -07:00
Mitchell Hashimoto
aee48239f7 website: document file download 2015-06-15 15:08:56 -07:00
Clint Shryock
91e565d54f builder/amazon: Update docs on ssh_private_key 2015-06-15 16:02:26 -05:00
Mitchell Hashimoto
906c45266d website: make warning for chef perms 2015-06-15 13:46:43 -07:00
Mitchell Hashimoto
106c9403ed provisioner/chef-client: chmod the directories 2015-06-15 13:41:07 -07:00
Mitchell Hashimoto
bee3b59c40 Merge branch 'chef-client-client_key' of https://github.com/ameir/packer into ameir-chef-client-client_key 2015-06-15 13:40:33 -07:00
Clint
5e786e3bb2 Merge pull request #2250 from mitchellh/b-amazon-block-docs
Document Amazon Block Device Mapping fields
2015-06-15 12:20:13 -05:00
Clint Shryock
d015d20a24 document block device mapping fields 2015-06-15 11:53:03 -05:00
Mitchell Hashimoto
723b91ccf3 Merge pull request #2232 from mitchellh/f-build-name
core: add build_name and build_type functions
2015-06-15 09:42:22 -07:00
Mitchell Hashimoto
a978bbf781 website: update docs for new functions 2015-06-15 09:40:11 -07:00
Mitchell Hashimoto
d6f8ec9315 Merge pull request #2230 from mitchellh/f-json-comments
template: allow _ prefix to root level keys for comments [GH-2066]
2015-06-15 09:38:33 -07:00
Clint
2372393f64 Merge pull request #2212 from mitchellh/f-amazon-add-tags-to-snapshots
Add EBS snapshot tags #846 #1219
2015-06-15 10:05:57 -05:00
Clint
8fca582278 Merge pull request #2221 from mitchellh/f-amazon-force-deregister-artifacts
builder/amazon: Add force_deregister option
2015-06-15 10:02:30 -05:00
Clint Shryock
c3e79c62b9 document force_deregister 2015-06-15 10:01:32 -05:00
Mitchell Hashimoto
e1530c39dc website: windows-shell 2015-06-14 11:27:48 -07:00
Mitchell Hashimoto
506a657775 website: doc windows-restart 2015-06-14 11:17:50 -07:00
Mitchell Hashimoto
9364809d01 website: document powershell 2015-06-14 11:08:32 -07:00
Mitchell Hashimoto
b2e9277d3b website: update for Windows AWS instances 2015-06-14 10:51:34 -07:00
Mark Peek
b2f8eb68e8 Enable ssh agent forwarding #1066 2015-06-13 17:15:49 -07:00
Mitchell Hashimoto
facbb6577d template: allow _ prefix to root level keys for comments [GH-2066] 2015-06-13 16:19:25 -04:00
Mark Peek
8b4f980123 website: fix missing comma in parallels-pvm example 2015-06-12 15:00:53 -07:00
Mitchell Hashimoto
35b8df1816 website: note cloud-init req for openstack [GH-1750] 2015-06-12 11:14:28 -04:00
Mitchell Hashimoto
693f04afcc builder/openstack: AZ support 2015-06-12 11:10:10 -04:00
Mitchell Hashimoto
1428e6dfbe Merge pull request #2218 from mitchellh/f-openstack
OpenStack uses official OpenStack client
2015-06-12 10:52:33 -04:00
Mitchell Hashimoto
92b6b5c387 builder/openstack: can ref flavor by name 2015-06-12 10:32:31 -04:00
Mitchell Hashimoto
e724b5fe80 builder/openstack: support legacy env vars 2015-06-12 00:33:52 -04:00
Clint
1da56993a2 Merge pull request #2214 from mitchellh/b-amazon-subnet-docs
documentation: subnet_id is required for non-default VPC
2015-06-11 16:53:19 -05:00
Mitchell Hashimoto
b28f946be9 Merge pull request #2210 from mitchellh/b-set-e
provisioner/shell: set -e for inline [GH-2069]
2015-06-11 17:19:43 -04:00
Mitchell Hashimoto
3ed73852be provisioner/shell: set -e on the shebang itself 2015-06-11 17:19:23 -04:00
Mitchell Hashimoto
3933cc3217 Merge pull request #2208 from mitchellh/b-do-user
builder/digitalocean: user data support [GH-2113]
2015-06-11 16:57:04 -04:00
Clint Shryock
724d591ba4 documentation: subnet_id is required for non-default VPC 2015-06-11 14:02:00 -05:00
Clint Shryock
a8155e17aa merge acaire/add-ebs-snapshot-tags 2015-06-11 10:33:55 -05:00
Mitchell Hashimoto
9c1e461402 website: document chef_environment for chef-solo 2015-06-10 20:33:00 -07:00
Mitchell Hashimoto
9c1e6bc478 website: clarify shutdown command [GH-2011] 2015-06-10 20:30:00 -07:00
Mitchell Hashimoto
5cfd26a0d3 builder/digitalocean: user data support [GH-2113] 2015-06-10 19:29:48 -07:00
Mitchell Hashimoto
910b16104e website: update required options for DO 2015-06-10 18:56:03 -07:00
Mitchell Hashimoto
a691a1521c website: update do docs 2015-06-10 14:16:40 -07:00
Mitchell Hashimoto
9da9ce6046 vmware/iso: disk_additional_size 2015-06-10 12:41:17 -07:00
Mitchell Hashimoto
3ba9d70b22 Merge pull request #1382 from sneal/AdditionalDisksForVMwareISO
Additional disks for vmware iso
2015-06-10 12:39:50 -07:00
Mitchell Hashimoto
8d6a99457a Merge pull request #1078 from pleschev/skip_nat_port
Adding the ability to skip nat port forwarding for ssh connectivity
2015-06-10 10:47:03 -07:00
Mitchell Hashimoto
a34b1a228d Merge pull request #1953 from apparentlymart/patch-1
website: Fix statement in machine-readable 'ui' type docs.
2015-06-08 21:22:00 -07:00
Christoph Hartmann
1539b9459f replace opscode with chef 2015-06-07 15:12:05 +02:00
Basil Peace
3dabf60b52 Fix error in isotime demo in the documentation of Configuration Templates 2015-06-06 23:43:06 +03:00
Shawn Neal
b665339b39 Added website docs for VMWare ISO additionaldisk_size 2015-06-04 08:22:50 -07:00
Mitchell Hashimoto
36c6d37f69 website: Update docs for template_dir 2015-05-29 14:30:36 -07:00
Mitchell Hashimoto
58b430d7ef website: update docs for provider key [GH-2099] 2015-05-29 11:34:22 -07:00
Mitchell Hashimoto
f8c877771d Merge branch 'f-packer-push-name' 2015-05-28 15:18:36 -07:00
Mitchell Hashimoto
8c3b8c6895 Merge pull request #1997 from justincampbell/vagrant-post-processor-execution-order
Clarify doubly-nested array use in post-processors
2015-05-28 09:37:50 -07:00
Mitchell Hashimoto
8cac7e8d51 Merge pull request #1930 from bhourigan/issue1929
Prepending -i to sudo so PATH is inherited from profile.d scripts
2015-05-28 09:36:58 -07:00
Mitchell Hashimoto
8199697821 Merge pull request #2029 from spuder/patch-1
Changes date example in isotime
2015-05-27 20:20:05 -07:00
Mitchell Hashimoto
96b40322e0 Merge pull request #2095 from rickard-von-essen/issue_2079
Fixes #2079 - Documentation parallel_tools_mode / guest_additions_mode
2015-05-27 20:19:23 -07:00
Mitchell Hashimoto
77af5f83f7 Merge pull request #2120 from vtolstov/discard
add discard option to qemu builder
2015-05-27 20:18:11 -07:00
Seth Vargo
168fe98610 Merge pull request #2109 from bosr/docs-homebrew-notap
doc update: no need for homebrew/binary anymore
2015-05-23 13:12:09 -04:00
Vasiliy Tolstov
3984f5e6f6 add discard option to qemu builder
Enabling discards for disk can greatly minimize disk size then user
inside vm use fstrim command or trim/discard unneded blocks.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-05-17 20:48:58 +03:00
Romain Bossart
8944824fa8 doc update: no need for homebrew/binary anymore 2015-05-14 21:11:44 +02:00
Rickard von Essen
835aff4562 Fixes #2079 - Documentation parallel_tools_mode / guest_additions_mode 2015-05-05 09:21:32 +02:00
Rickard von Essen
1365627e31 Fixes #2080 Add prlctl_post in builder Parallels
This adds config option prlctl_post for builder parallels-iso/pvm. It
allows additional prlctl commands to run after the VM has been shutdown
just before being exported.
2015-05-03 11:18:48 +02:00
Ernie Hershey
d903b6d56a Remove duplicate "directly" 2015-05-01 14:34:37 -04:00
Grégoire Pineau
cd14cb7012 [Provisioner][Ansible] Added support for inventory group 2015-04-30 18:43:00 +02:00
Jack Pearkes
344c741642 command/push: allow specifying a -name param for push target 2015-04-15 12:54:58 -07:00
Spencer Owen
59499426b0 Changes date example in isotime
The example of using 1506 doesn't make much sense since 15 is the hour and 06 is the year. 
Using HHMM is a more intuitive example
2015-04-09 14:43:12 -06:00
Ameir Abdeldayem
4735ab004a Add docs for client_key option of chef-client provisioner. 2015-04-09 02:19:52 -04:00
Brian Hourigan
a4cfd921f4 Adding missing hyphen to sudo options 2015-04-04 10:52:17 -04:00
Justin Campbell
23ac351c85 Clarify doubly-nested array use in post-processors
Expands on the description of the Vagrant and Vagrant Cloud
post-processors needing to be in a doubly-nested array.

Also, separate the two arrays in the JSON sample so they stick out more
(and reformat the JSON).
2015-03-24 15:41:17 -04:00
dragon788
7daf8f6b5f Invalid boot command section for VMware ISO 2015-03-13 13:45:43 -05:00
dragon788
0e8cd451ed Invalid boot command section for VirtualboxISO 2015-03-13 13:45:30 -05:00
dragon788
a565f43ca9 Replaced missed command 2015-03-13 13:44:59 -05:00
dragon788
90e48eabc3 Invalid boot command section for Parallels ISO 2015-03-13 13:44:07 -05:00
Ash Caire
361e859556 Add EBS snapshot tags 2015-03-01 10:27:30 +11:00
Colin Hebert
34e34d1f18 Fix typo 2015-02-28 23:02:49 +11:00
Martin Atkins
2a9dc513ab Fix statement in machine-readable 'ui' type docs.
The text previously stated that "ui"-type messages represent messages that would be shown if Packer is *not* running in human-readable mode.

This is rather talking about what would happen when Packer *is* using human-readable mode.
2015-02-26 16:35:31 -08:00
David Danzilio
d1445bc6fe Make PackerBuildName and PackerBuilderType available as Facts during a masterless run similar to the way we do with the Shell provisioner. 2015-02-24 21:44:00 -05:00
Seth Vargo
8c36684e98 Merge pull request #1846 from lalyos/patch-1
docs/templates: add note about escaping
2015-02-24 20:12:18 -05: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
2d13cf9689 Merge pull request #1936 from leto/patch-1
Tell people to use OVF v2
2015-02-24 19:53:30 -05:00
Seth Vargo
cc231ea497 Merge pull request #1941 from w1mvy/update_document
Updated doc with config
2015-02-24 19:51:44 -05:00
Ross Smith II
07b61f2ca8 Fix digitalocean urls in docs
[skip ci]
2015-02-24 11:32:27 -08:00
w1mvy
003bb6926c Updated doc with config 2015-02-23 21:36:37 +09:00
Emil Hessman
825cd7a86a website: address spelling mistakes 2015-02-21 09:27:04 +01:00
Duke Leto
f7383d533d Tell people to use OVF v2
The example error message being in here is important so people can search for that error message and find the answer easily. The default in my VirtualBox is V1, so many people will run into this.
2015-02-19 15:42:35 -08: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
726f5c45b1 Add some documentation of new Openstack options 2015-02-17 21:44:39 +00:00
Ross Smith II
f35b8db498 Merge pull request #1904 from gnawhleinad/master
make it clear that "tools_upload_folder" is not used for esxi
[skip ci]
2015-02-16 10:02:24 -08:00
Ross Smith II
a6d843ffd9 Merge pull request #1883 from dragon788/master
Boot command section in vmware and virtualbox ISO wasn't working
[skip ci]
2015-02-16 09:57:30 -08:00
Misha Brukman
be4ccc77fb builders/googlecompute: made formatting consistent
Also updated Debian 7 VM image to `debian-7-wheezy-v20150127`.
2015-02-11 21:16:19 -05:00
Misha Brukman
a935b31620 builders/googlecompute: fixed link in docs. 2015-02-10 20:13:28 -05:00
Jack Pearkes
2db039bfe2 Merge pull request #1897 from KFishner/docs-atlas-post-processor
Add Atlas post-processor documentation
2015-02-09 16:41:35 -08:00
gnawhleinad
faf65bec53 make it clear that is not used for esxi
Signed-off-by: gnawhleinad <danielleehwang@gmail.com>
2015-02-06 15:01:55 -08:00
Seth Vargo
bfc4f4ff7d Clarify push interpolation caveat 2015-02-04 13:30:40 -05:00
Seth Vargo
983b0b8988 Allow specifying a -message when pushing 2015-02-04 13:30:40 -05:00
Seth Vargo
7911d98836 Warn about pushing sensitive data in Packer templates 2015-02-04 13:30:40 -05:00
Seth Vargo
8194846d86 Update push command docs to remove -token 2015-02-04 13:30:39 -05:00
Seth Vargo
75b4f50f8f Add examples for Push template configuration 2015-02-04 13:30:39 -05:00
Seth Vargo
677ddd34bd Update default value for push VCS documentation 2015-02-04 13:30:39 -05:00
Kevin Fishner
3bdb9a6e9d add vagrant cloud note 2015-02-03 17:07:24 -08:00
Kevin Fishner
3717ffa023 add atlas post-processor docs 2015-02-03 16:20:32 -08:00
dragon788
5482f56670 Merge pull request #3 from dragon788/patch-2
Boot command section was NOT working
2015-01-30 13:15:37 -06:00
dragon788
800dbeedac Boot command section was NOT working
If copy and pasted, the boot command section was NOT working due to < and > being translated to HTML code equivalents. Removed javascript tagging on the code block to see if this fixes the resulting display in a browser.
2015-01-30 10:51:20 -06:00
dragon788
078c3b3378 Boot command section was NOT working
If copy and pasted, the boot command section was NOT working due to < and > being translated to HTML code equivalents. Removed javascript tagging on the code block to see if this fixes the resulting display in a browser.
2015-01-30 10:50:32 -06:00
Mehul Kar
1011ec804d Fix page title 2015-01-22 18:48:02 -08:00
Paul Schooss
fa1f04833c Adding documentation for the environments_path 2015-01-20 11:07:46 -08:00
Misha Brukman
61c95732dd provisioner/shell: Added punctuation. 2015-01-20 11:06:48 -05:00
Misha Brukman
239bdcef29 provisioner/shell: Added code formatting. 2015-01-20 11:06:37 -05:00
Misha Brukman
e696bb7727 provisioner/shell: Fix link with parentheses. 2015-01-20 11:06:10 -05:00
lalyos
68a94f9c2f docs/templates: add note about escaping
If some tries to copy and paste the isotime examples with options into a template, the parser will fail.
2015-01-17 10:20:19 +01:00
Danny Lockard
fdcf10dc64 and update the docs to indicate you can use 'scsi' in place of sata or ide 2015-01-15 19:56:30 -06:00
Colin Hebert
a100e9393b Add support for custom working directory for puppet 2015-01-11 10:25:48 +11:00
Ross Smith II
8fea991516 Merge pull request #1742 from jenspinney/master
Fix documentation for openstack_provider and provider config options. 
[skip ci]
2015-01-10 09:21:33 -08:00
Jack Pearkes
4b0d861373 docs/vmware-iso: fix boot command encoding 2015-01-04 13:43:54 -05:00
Timo Sugliani
6b14b6282a Update plugins.html.markdown
I think this is the required PATH for windows.
2015-01-03 14:34:37 +01:00
Ross Smith II
ecf82071ce Merge pull request #1784 from mefellows/docu/aws-credentials-file
Updated Amazon documentation to reflect use of credentials file
[skip ci]
2014-12-30 07:24:37 -08:00
Ross Smith II
9a9395a4f0 Merge pull request #1788 from malclocke/patch-1
Fix link to shell provisioner [skip ci]
2014-12-29 19:38:11 -08:00
Ross Smith II
a51206f749 Merge pull request #1790 from joelhandwell/patch-1
Added Chocolatey as alternative installation [skip ci]
2014-12-29 13:57:57 -08:00
Joel Handwell
297eb3777b Fix typo: One attached -> Once attached 2014-12-26 00:42:41 -05:00
Joel Handwell
cf23e34404 Added Chocolatey as alternative installation 2014-12-23 20:59:48 -05:00
Malcolm Locke
07ed577ce0 Fix link to shell provisioner 2014-12-24 13:37:41 +13:00
Ross Smith II
b8626d8340 Alphabetized options in qemu.html.markdown 2014-12-21 10:12:34 -08:00
Matt Fellows
59c54a2a7a Updated Amazon documentation to reflect the precedence rules putting ~/.aws/credentials files ahead of env vars. Ref #1612 2014-12-19 13:32:06 +11:00
Matthew Barrington
bce1a5d9d7 Updated the spot price docs 2014-12-16 17:53:12 +00:00
Michał Czeraszkiewicz
1e88d41b6f Fix broken links in the DigitalOcean documentation 2014-12-12 02:30:10 +01:00
Danny Lockard
8aac8dc17c Per https://coderwall.com/p/momg4a/packer-io-vsphere-post-processor-without-resource-pools 2014-12-10 11:35:32 -06:00
Ryan Uber
010c77d05f builder/digitalocean: default to nyc3 2014-12-10 00:26:56 -08:00
jenspinney
ccc09c0167 Fix documentation for openstack_provider and provider config options. 2014-12-09 22:18:59 -08:00
Mitchell Hashimoto
6f66afcee0 website: docs for push 2014-12-09 16:14:04 -08:00
Dustin Carlino
fe47f45800 Remove bucket_name from GCE config.
Fixes #1732. Forgot to do this in 23c947acf0.
2014-12-09 08:44:01 -08:00
dragon788
582b8a6ad9 Fixed typo 2014-12-05 10:55:27 -06: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
pleschev
431647997c Merge pull request #2 from mitchellh/master
Update skip_nat_port to latest master.
2014-11-26 07:52:42 +11: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
Mitchell Hashimoto
0db6cd3533 Merge pull request #1330 from qur/qemu-vagrant
Qemu vagrant
2014-10-28 08:42:17 -07:00
Mitchell Hashimoto
60e2a8b5fc Merge pull request #1342 from iwebhosting/qemu-image-support
Add support for building QEMU images from pre-existing image files
2014-10-28 08:38:51 -07:00
Mitchell Hashimoto
7865026e22 Merge pull request #1463 from vtolstov/digitalocean
add digitalocean v2 api support
2014-10-28 08:30:23 -07:00
Mitchell Hashimoto
00543fe582 Merge pull request #1479 from jasonberanek/esxi-remote-cache
buidler/vmware-esxi: Add configuration options for the remote location to cache ISO and floppy files
2014-10-28 08:28:15 -07:00
Mitchell Hashimoto
7ad8f33ddb Merge pull request #1530 from Quintok/master
#1191 - Add VMWare virtualhw.version configuration option under 'version'
2014-10-28 08:27:22 -07:00
Vasiliy Tolstov
8f9e9abca1 Merge branch 'master' into digitalocean 2014-10-28 16:03:32 +03:00
Nick Cronin
da0c1cbd8c #1191 - highlight 'experimental' state of VMWare vmx.version in docs
As per the comments on the pull request It was felt that vmx hardware
version should be more explicitly documented as ‘experimental’ when
using a non default value.
2014-10-28 11:50:35 +11:00
Nick Cronin
1aa102dd06 addresses #1191 - Add VMWare virtualhw.version configuration option under 'version' 2014-10-28 11:49:04 +11:00
Mitchell Hashimoto
1fa95d7153 website: don't show virt type on amazon-ebs 2014-10-27 17:26:30 -07:00
Mitchell Hashimoto
6a1744a1d2 Merge pull request #1385 from Mayflower/vagrantcloud_selfhosted
Vagrantcloud selfhosted
2014-10-27 17:12:21 -07:00
Mitchell Hashimoto
fc2e24faa3 Merge pull request #1491 from lancefrench/gh-1491
Amazon Instance Builder Docs Still Reference Deprecated S3Endpoint
2014-10-27 17:07:00 -07:00
Mitchell Hashimoto
733a3ca317 website: update for machine type on qemu 2014-10-27 17:06:17 -07:00
Mitchell Hashimoto
d0501a7bfb Merge pull request #1493 from hiroyuki-sato/patch_for_packer
Update document about qemu builder for [GH-1407].
2014-10-27 17:05:26 -07:00
Mitchell Hashimoto
c161f9adc5 Merge pull request #1558 from vtolstov/qemu_cache
builder/qemu: add ability to set cache mode for disk
2014-10-27 16:56:16 -07:00
Mitchell Hashimoto
3504e4c1b7 Merge branch 'fix_qemu_size_argument' of https://github.com/berendt/packer into berendt-fix_qemu_size_argument
Conflicts:
	website/source/docs/builders/qemu.html.markdown
2014-10-27 16:13:53 -07:00
Christian Berendt
5874e23548 Fix the value for the QEMU size parameter in the documentation
Instead of 1024m it shoud be 1024M. Using 1024m as value does not work:

---snip---
2014/10/27 10:21:41 packer-builder-qemu: 2014/10/27 10:21:41 Executing
/usr/bin/qemu-system-x86_64: []string{"-m", "1024m", "-redir",
"tcp:3213::22", "-device", "virtio-net,netdev=user.0", "-cdrom",
"/home/berendt/B1-Systems/openstack-appliance/packer_cache/436c246ce08d768bbacce00e39c11ecd09071565542788d08b3120de0228c9eb.iso",
"-machine", "type=pc-1.0,accel=kvm", "-vnc", "0.0.0.0:47", "-netdev",
"user,id=user.0", "-name", "openstack", "-drive",
"file=openstack/openstack.qcow2,if=virtio", "-boot", "once=d"}
2014/10/27 10:21:41 packer-builder-qemu: 2014/10/27 10:21:41 Started
Qemu. Pid: 2618
2014/10/27 10:21:41 packer-builder-qemu: 2014/10/27 10:21:41 Qemu
stderr: qemu-system-x86_64: -m 1024m: Parameter 'size' expects a size
==> qemu: Error launching VM: Qemu failed to start. Please run with logs
to get more info.
---snap---
2014-10-27 10:34:41 +01:00
David Kinzer
1b4a0bffbe Fix broken links in docker builder docs.
The first link is to an outside page that doesn't exist anymore.
The second link is to the correct id.
2014-10-24 10:59:26 -04:00
Seth Vargo
67fad6c429 Add metadata description to all pages + include "Packer" for SEO 2014-10-22 17:41:53 -04:00
Seth Vargo
0800ebfe7a Use formatting helpers and labeled code blocks 2014-10-22 17:41:53 -04:00
Nicholas Chammas
437b1bf12a Portability and explicitness
"Explicivity" is not a word.
2014-10-22 15:22:57 -04:00
Jason A. Beranek
8d398d159d website: make remote vmware docs consistent 2014-10-14 21:30:17 -05:00
Jason A. Beranek
241398d53e website: document vmware-iso remote cache path 2014-10-14 21:25:15 -05:00
Mitchell Hashimoto
66cd829813 Merge pull request #1589 from joshfng/master
website: Add all boot commands from source to docs.
2014-10-14 15:49:55 -07:00
Josh Frye
1e2cb36735 Add all boot commands from source to docs. 2014-10-14 15:45:34 -07:00
Mitchell Hashimoto
ba0b4e7519 Merge pull request #1523 from jc00ke/patch-1
website: Minor edits
2014-10-14 15:43:17 -07:00
Mitchell Hashimoto
2419e44551 Merge pull request #1528 from amangoel/patch-1
website: Update chef-solo.html.markdown
2014-10-14 15:43:00 -07:00
Mitchell Hashimoto
e82b76edc9 Merge pull request #1529 from amangoel/patch-2
website: Update amazon.html.markdown
2014-10-14 15:42:46 -07:00
Mitchell Hashimoto
3374765419 Merge pull request #1560 from amosshapira/patch-1
website: ec2:ModifyImageAttribute already included in the sample policy
2014-10-14 15:42:08 -07:00
Tim Brown
bd5382dc72 Update example to match parameter.
The example showed "path" instead of "output".
2014-10-13 12:56:53 -07:00
Seth Vargo
ff514004a8 Merge pull request #1537 from nifr/patch-1
Fixed dead links in doc section environment-variables.
2014-10-10 06:34:45 -07:00
Amos Shapira
b3839f48de ec2:ModifyImageAttribute already included in the sample policy
ec2:ModifyImageAttribute is already included in the sample policy JSON (line 67 in the source file), so the comment about optionally adding it only adds confusion.
2014-10-06 13:28:40 +11:00
Vasiliy Tolstov
8efc8ec984 add ability to set cache mode for disk
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-06 01:09:45 +04:00
Nicolai Fröhlich
7fdb045ed0 Fixed dead links in doc section environment-variables.
Due to a missing `/` the links pointed to i.e. `docs/other/docs/other/core-configuration.html` producing a 404 / Page not found.
2014-09-26 15:28:24 +02:00
amangoel
e5c71008ba Update amazon.html.markdown
Technical correction
2014-09-24 17:41:41 -07:00
amangoel
6150a281f5 Update chef-solo.html.markdown 2014-09-24 17:15:47 -07:00
Scott Rahner
4383b435a4 adding default nodename 2014-09-24 19:40:34 -04:00
Jesse Cooke
adedfb85a6 Ditch ` around content words 2014-09-24 14:00:58 -07:00
Jesse Cooke
c2ffdd99a7 Minor edits 2014-09-24 10:07:57 -07:00
Julian Phillips
660e82e689 Update vagrant supported builder list
Update the list of supported builders in the vagrant post-processor
docs to include QEMU.
2014-09-22 11:15:47 +01:00
JessThrysoee
16b82d6d15 builder/parallels: Bundle python version of prltype
Uses the Python API from Parallels Virtualization SDK to write
boot commands.

This eliminates a 3rd party requirement and makes it easier for people
not using homebrew to get started with packer.
2014-09-19 22:19:15 +02:00
Jason A. Beranek
58a50e0513 website: document vmware-esxi VNC requirements 2014-09-16 22:16:22 -05:00
Vasiliy Tolstov
bb484e88a2 Update digitalocean.html.markdown
fix mistake
2014-09-15 15:44:27 +04:00
Vasiliy Tolstov
018601058c Update digitalocean.html.markdown
separate v1 and v2 api
2014-09-15 15:43:54 +04:00
Vasiliy Tolstov
ca6ef4d1e1 Update digitalocean.html.markdown
update docs
2014-09-15 15:43:10 +04:00
Hiroyuki Sato
c650f6f6af Fix typo 2014-09-12 23:28:10 +09:00
Hiroyuki Sato
64a709e7be Update document about qemu builder for [GH-1407].
https://github.com/mitchellh/packer/pull/1407
2014-09-12 23:14:55 +09:00
Lance French
ce5276d667 Update for amazon-instance builder docs [GH-1491]
Updating --url parameter to --region in the builder
documentation for the bundle upload command.
2014-09-11 23:08:45 -07:00
Chris Spicer
840c4e4d02 Add group_vars and host_vars to Ansible provisioner docs to reflect current code 2014-09-10 15:37:05 -07:00
Mitchell Hashimoto
305019676c website: update website to point to proper directory 2014-09-08 13:44:58 -07:00
Mitchell Hashimoto
2ed100a0b0 website: document compress post-processor 2014-09-08 10:30:10 -07:00
Mitchell Hashimoto
db90c16118 builder/amazon: support auto spot price discovery [GH-1465] 2014-09-06 10:44:12 -07:00
Mitchell Hashimoto
3a69b8c1b8 Merge branch 'add-spot-instance-support' of github.com:henrysher/packer into henrysher-add-spot-instance-support
Conflicts:
	builder/amazon/common/run_config.go
	builder/amazon/ebs/builder.go
	builder/amazon/instance/builder.go
2014-09-05 16:30:22 -07:00
Mitchell Hashimoto
9a0f92c5ad Merge branch 'template-timefmt' of github.com:njones/packer into njones-template-timefmt
Conflicts:
	packer/config_template.go
	website/source/docs/templates/configuration-templates.html.markdown
2014-09-05 16:21:30 -07:00
Mitchell Hashimoto
c66b5dbb67 website: doc upper and lower 2014-09-05 16:17:59 -07:00
Mitchell Hashimoto
802168f4b5 Merge branch 'add-chef-environment' of github.com:cfortier2/packer into cfortier2-add-chef-environment
Conflicts:
	provisioner/chef-client/provisioner.go
2014-09-05 16:13:32 -07:00
Mitchell Hashimoto
c6243a2de7 command/build: -color [GH-1433] 2014-09-05 16:05:02 -07:00
Mitchell Hashimoto
b085c1d934 website: update with latest 2014-09-05 15:49:59 -07:00