Commit Graph

980 Commits

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