Commit Graph

1053 Commits

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