Commit Graph

1193 Commits

Author SHA1 Message Date
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 2d749d8c55 Merge pull request #3139 from vtolstov/shell_local
shell-local port processor
2016-02-04 18:58:38 -08: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
Ian Duffy 34b59bc051 Create a shell-local post processor
The following commits build on work from @vtolstov to create a
post processor shell-local plugin. Please see his original work
over at https://github.com/vtolstov/packer-post-processor-shell

I have modified it slightly to output information onto the packer
ui as shown in the below screenshot which executes a script that
runs env.

This plugin enables users to submit environmental variables to
external external shell script(s) to do some post processing
e.g. (Upload to somewhere, convert to different format, and so
on)

Most of the work is a merge from the provisioner shell and
shell-local scripts.

![Example run of post processor shell-local](http://i.imgur.com/kJv6j9l.png)

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-02-01 14:11:25 +00:00
Rickard von Essen fbeacb3dc4 OpenStack: Update documentation, fixes GH-2701
Added documentation for:
 - identity_endpoint
 - user_id
 - OS_USERID
 - endpoint_type
 - ssh_keypair_name
 - user_data
 - user_data_file

Improved documentation for:
 - floating_ip
 - OS_TENANT_NAME
 - use_floating_ip

Added a DevStack exmaple and some notes about OpenStack authorization
and how to get started with a correct setup.
2016-02-01 12:36:56 +01:00
Rickard von Essen 209e877d20 Amazon: Cleaned up the docs about SSH after implementing Communicator. 2016-01-31 21:05:27 +01:00
Billie H. Cleek bf3c294326 listen on system chosen port
Change the default for LocalPort to "0", so that the listener will be a
system chosen port.
2016-01-28 22:22:12 -08:00
Chris Bednarski 2dd8ad9449 Merge pull request #2577 from cybercom-finland/os_source_image_name
Support source_image_name in OpenStack builder
2016-01-28 15:40:13 -08:00
Chris Bednarski 15f99a4aee Merge branch 'ansible-provisioner' of https://github.com/bhcleek/packer into f-ansible 2016-01-28 15:16:54 -08:00
Chris Bednarski 87532b1b00 Merge branch 'chef-provisioner-windows' of https://github.com/sneal/packer into f-chef-provisioner-windows 2016-01-28 14:55:17 -08:00
Chris Bednarski f2698b5981 Merge pull request #3113 from tylert/md-ext-rename
Rename communicator markdown file to match the rest of the website so…
2016-01-26 16:42:21 -08:00
Einar Forselv c6a21ab491 Openstack builder documentation needs v3 auth information
Added some basic information about v3 authentication.
2016-01-27 01:30:17 +01:00
Tyler Tidman a1c4c6aace Rename communicator markdown file to match the rest of the website source files 2016-01-26 09:28:24 -05:00
Matt Black 33071150c1 Salt provisioner: option to set logging level on Salt highstate run 2016-01-26 13:09:15 +00:00
Matt Black 9ccf298be9 Salt provisioner: option to ignore salt highstate failures fixes #2486 2016-01-26 13:09:15 +00:00
Matt Black 5cd15b52c5 Salt provisioner: dynamic command line args passed onto salt-call fixes #2652 2016-01-26 13:09:15 +00:00
Chris Bednarski 4490826a17 Merge pull request #3040 from kimor79/3011
Add mount_partition option to amazon-chroot builder
2016-01-25 22:08:07 -08:00
Vasiliy Tolstov d96283e475 qemu: allow to use live iso without cache
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-01-25 10:44:42 +00:00
Seth Vargo cd4a70f846 Add structured data 2016-01-24 13:11:58 -05:00
Seth Vargo 631036caea Remove breadcrumbs (causes crash and wasn't being used) 2016-01-24 13:11:51 -05:00
Chris Bednarski a0b30dcf59 Merge pull request #3100 from msabramo/docs_user_variable_example_conditional_provisioner
docs: Add example of conditional provisioner
2016-01-23 21:43:48 -08:00
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 76c49f6ed0 Remove errant trailing slash from blog URL 2016-01-15 13:41:29 -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 6fa3fe31b1 Missed one 2016-01-14 15:38:54 -05: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
Seth Vargo b5aadd8568 Add new deploy scripts 2016-01-13 21:54:08 -05:00
Seth Vargo de4419dafc Optimize images 2016-01-13 21:53:14 -05:00
Seth Vargo 6a8c0dce5e Update middleman-hashicorp 2016-01-13 21:53:00 -05:00
Seth Vargo ac97086e00 Remove Heroku stuff 2016-01-13 21:52:56 -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 ae9073e355 Merge pull request #2941 from thachmai/master
Update website/Vagrantfile to re-enable vagrant
2016-01-13 14:10:47 -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
captainill b1cf7b390e cleanup footer 2015-12-20 12:35:44 -08:00
captainill 4035aa4eed Merge branch 'master' into new_header 2015-12-20 00:31:38 -08:00
captainill 07288e2674 capital C in by hashicorp lockup 2015-12-19 22:43:52 -08: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
Thach MAI 755407c1d3 Changes box to bento/ubuntu-14.04 to support VMWare. 2015-11-17 09:26:07 +01: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
Thach Mai c42a105441 Fix Vagrantfile to fix build issues
Changed the box from "chef/ubuntu-12.04" to "ubuntu/trusty64".
Changed the ruby version to 2.2.2 to accommodate the latest middleman.
Changed initialization from "bundle" to "make dev".
2015-11-15 18:05:08 +01:00
michael 665d7362f4 Update documentation for remote SSH Key Authentication 2015-11-13 17:43:22 -08:00
Chris Bednarski c0b91608a3 Merge pull request #2937 from captainill/new_header
New header/footer design
2015-11-13 15:50:59 -08:00
Jake Champlin 49ded7f79f Grammar change 2015-11-13 13:57:52 -05:00
captainill a99ade853b update footer 2015-11-12 16:47:51 -08:00
captainill a33bea4687 fix pagination 2015-11-12 16:27:48 -08:00
captainill 2c2cb837b4 sidebar 2015-11-12 16:27:48 -08:00