Commit graph

2134 commits

Author SHA1 Message Date
Matthew Hooker
fc1ce68bff
docs: add lxc/d to sidebar, cleanup 2017-09-12 15:45:55 -07:00
Andrew Pryde
6fd2f6701d
Rename Oracle BMCS builder to OCI
Oracle Bare Metal Cloud Services (BMCS) has been rebranded as Oracle
Cloud Infrastructure (OCI).
2017-09-12 10:40:56 -07:00
Matthew Hooker
9977edc4b4 Merge pull request #5322 from danielcompton/patch-1
Add troubleshooting steps to Ansible provisioner docs
2017-09-11 11:43:32 -07:00
Matthew Hooker
bdd8ff104d
fix doc layout 2017-09-11 09:56:11 -07:00
Matthew Hooker
624b1e5110 Merge pull request #4554 from prydie/f-oracle-bmcs
Oracle Bare Metal Cloud Services (BMCS) builder
2017-09-11 09:42:14 -07:00
Andrew Pryde
6612a2cc70 Remove copyright statement from docs 2017-09-11 15:08:17 +01:00
Daniel Compton
b754862fd8 Add troubleshooting steps to Ansible provisioner docs
- Explain how to enable verbose Ansible output
- Add docs about the perils of having loaded too many SSH keys to ssh-agent
2017-09-10 21:03:06 +12:00
Matthew Hooker
322422f235
remove copyright notice header and add COPYRIGHT file 2017-09-08 09:49:06 -07:00
Matthew Hooker
817dc973c8
clarify docs 2017-09-06 15:01:39 -07:00
Matthew Hooker
57237c55e6 Merge pull request #5308 from pdecat/f-gce-instance-labels
Add support for setting labels on GCE instance
2017-09-06 14:59:40 -07:00
Patrick Decat
a005638e11 Document labels set on GCE instance 2017-09-06 23:22:51 +02:00
Megan Marsh
4d89ab3943 Merge pull request #5309 from hashicorp/pr/3523
Pr/3523
2017-09-06 09:27:58 -07:00
Megan Marsh
41103cf9ca fix docs 2017-09-06 08:55:39 -07:00
raylu
6135b0bf48 Fix ubuntu source_ami_filter examples
Canonical publishes stable AMIs at ubuntu/images/ and unstable AMIs at
ubuntu/images-testing/. Combined with most_recent: true, the old name
filter bounces you between stable and unstable.
2017-09-05 17:25:34 -07:00
Chris Lundquist
cd2a783382 [lxc] update to new conventions, improve docs 2017-09-05 15:19:25 -07:00
Chris Lundquist
db74392528 [lxc] add some words of warning around edge cases 2017-09-05 15:17:15 -07:00
Chris Lundquist
44c942a21f [lxc] provide centos 7 example 2017-09-05 15:17:15 -07:00
Chris Lundquist
612c87ee2d [lxc] add first draft of documentation 2017-09-05 15:17:15 -07:00
Chris Lundquist
f6bc158a80 [lxd] minor fixups for new styles and docs 2017-09-05 12:46:36 -07:00
Chris Lundquist
05f072929f [lxd] first pass at docs 2017-09-05 12:44:39 -07:00
Matthew Hooker
2a0a8cb8fa Merge pull request #5104 from lfarnell/bug-5100
Added ansible-galaxy command to docs
2017-09-02 14:31:17 -07:00
Megan Marsh
3974976518 Merge pull request #5137 from vilkaspilkas/f-googlecompute-accelerator
Add accelerator api support to googlecompute builder
2017-09-01 14:12:26 -07:00
bugbuilder
abc21406cb Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl 2017-08-31 22:22:51 -03:00
Matthew Hooker
54920422ea Merge pull request #5252 from c22/packer_4391_rework
#4391 rework (see #4426)
2017-08-31 13:46:48 -07:00
Rickard von Essen
1a1ab3863c
cloudstack: Add support for Security Groups
Adds two new options:
- `create_security_group` which automatically creates a temporary SG.
- `security_groups` which takes a list of SGs to attach to the instance.
2017-08-31 12:00:03 -07:00
Megan Marsh
cc104cdf55 Merge pull request #5174 from rickard-von-essen/cloudstack-temp-ssh-key
cloudstack: Setup temporary SSH keypair
2017-08-30 16:49:11 -07:00
bugbuilder
f09a9c4653 using artifact ID 2017-08-30 18:19:54 -03:00
bugbuilder
138f54d9d3 Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl 2017-08-30 18:13:54 -03:00
Megan Marsh
1adcce6046 Merge pull request #5284 from hashicorp/fix_5093
Allow granular modification of sriov and ena enhanced networking opti…
2017-08-29 14:28:42 -07:00
Megan Marsh
2c2321fb99 remove enhanced_networking deprecation note from docs. changelog will suffice 2017-08-29 10:53:52 -07:00
Megan Marsh
85ad1f58fb include ena_support and sriov_support in chroot and instance docs 2017-08-29 09:36:06 -07:00
Megan Marsh
4e8303f3b4 Merge pull request #5024 from rickard-von-essen/issue-4941
ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding
2017-08-28 11:55:26 -07:00
Megan Marsh
2d4bc70d7b use ami prefix to make it clear that these variables are amazon specific
add fixer, fixer tests
2017-08-28 11:21:27 -07:00
Megan Marsh
9e2e467b31 Allow granular modification of sriov and ena enhanced networking options in amazon amis. Maintain old functionality. 2017-08-25 14:49:53 -07:00
Christopher Boumenot
9a34fd15ca azure: improve docs and validation
Closes #5186
2017-08-24 15:23:13 -07:00
Christopher Boumenot
0780667b4d azure: support storage account for managed images
Closes #5202
2017-08-24 15:10:49 -07:00
Victor Ronin
cb75796389 Show a message why VM export was skipped while building on VMWare Fusion/Workstation 2017-08-23 12:44:46 -07:00
c22
bc2e3de06d Resolve merge conflicts and update documentation. 2017-08-22 14:10:37 +10:00
c22
80ba99c04f Update documentation + small fixes
Updated the puppet-masterless documentation
Removed extraneous ConfigTemplate code
2017-08-22 14:10:37 +10:00
c22
1c592f291e Better Windows support in puppet-server
Reworking the puppet-server provisioner based on chef-client.
2017-08-22 14:10:37 +10:00
Matthew Aynalem
caaf6c3271 docs builders/alicloud - add missing sidebar_current 2017-08-20 06:55:49 -07:00
Sergei A Mamonov
0b4e8474e2 Add docker container_dir to docs 2017-08-14 09:26:05 -07:00
Joao Albuquerque
d909c702ee Working PublicPrivate 2017-08-08 15:05:45 +01:00
Matthew Aynalem
974309d81f fix alicloud misspelling, add missing sidebar_current 2017-08-03 20:29:35 -07:00
Matthew Hooker
c4e72dc4a0
fix formatting 2017-08-03 15:14:46 -07:00
Matthew Aynalem
64b8666531 move resource_pool to optional section 2017-08-03 07:49:15 -07:00
Andrew Pryde
e8e0e8c948 Add ssh_private_key_file support to BMCS builder 2017-08-02 17:18:53 +01:00
Andrew Pryde
e8e13dde60 Split BMCS config docs into required/optional 2017-08-02 12:44:44 +01:00
Andrew Pryde
e981c5bfb5 Add note in BMCS builder docs re subnet comm port
Communicator must be able to communicate with instance via configured
subnet. The default communicator and default BMCS subnet work out of
the box, however, this makes required config for custom set-ups
clearer. Resolves @dave2's comment on
https://github.com/mitchellh/packer/pull/4554.
2017-08-02 09:53:48 +01:00
Andrew Pryde
3c4ec2dc3e Allow override signing key pass in oracle-bmcs
Adds pass_phrase property to the oracle-bmcs builder to allow users to
specify/override a pass phrase for the private key used to sign requests
to the BMCS API.
2017-08-02 09:53:48 +01:00
Andrew Pryde
9728f890cf Implemented and documented oracle-bmcs builder
Implements a new Packer builder (oracle-bmcs) which adds support for
building custom images for Oracle Bare Metal Cloud Services (BMCS)
https://cloud.oracle.com/en_US/bare-metal.

Additionally includes documentation for the oracle-bmcs builder.
2017-08-02 09:53:48 +01:00
Bill Wang
28a986691d Add policies to use spot instance to create the AMI 2017-08-01 21:24:43 +10:00
bugbuilder
786d3c0a9d updated documentation, vm_name mandatory and cleaning code 2017-07-31 00:26:58 -04:00
Matthew Hooker
c2f142eea3 Merge pull request #5133 from mayn/fix-docs-provisioners-salt-masterless
docs salt-masterless provisioner - move required element out of optional elements section
2017-07-28 13:09:02 -07:00
Rickard von Essen
b66bc549cd
Remove ssh_username` from builder docs 2017-07-27 06:53:16 +02:00
Rickard von Essen
fc964bfab2 cloudstack: Setup temporary SSH keypair 2017-07-26 07:38:05 +02:00
Rickard von Essen
dcbf4d5f9a
digitalocean: docs: Added missing newline 2017-07-23 07:47:53 +02:00
Rickard von Essen
0fe22d55d7
amazon-ebs: docs: indentation fix 2017-07-22 08:14:27 +02:00
bugbuilder
7274bbb63d commends, documentation and var names updates 2017-07-19 00:44:18 -04:00
bugbuilder
fa10616f57 Changes requested applied 2017-07-18 23:10:05 -04:00
Saulius Grusnys
1d4c42930f Update accelerator_type documentation to note the required on_host_maintenance value 2017-07-18 11:53:00 +01:00
Saulius Grusnys
2e1f85a3f2 Adding accelerator_count and accelerator_type to optional configuration reference 2017-07-18 11:14:36 +01:00
Megan Marsh
08a56a7f49 Merge pull request #5132 from hashicorp/4923_encrypt_docs
clarify docs for encrypt_boot
2017-07-17 13:12:59 -07:00
Miguel David
d48ad02fbb Removed MAINTAINER from changes
Removed maintainer from changes array since "Stderr: Error response from daemon: maintainer is not a valid change command"
2017-07-17 18:23:13 +01:00
Rickard von Essen
ef5c7936f2 Merge pull request #5130 from rickard-von-essen/cloudstack-ssh-agent
cloudstack: Add support for ssh_agent_auth
2017-07-17 18:41:24 +02:00
bugbuilder
2ddc07d3b9 Documentation update to clarify the use of the datacenter option 2017-07-16 22:15:09 -04:00
Matthew Aynalem
d08e47a853 docs salt-masterless provisioner - move required element out of optional elements section 2017-07-16 16:26:31 -07:00
Megan Marsh
987347c7d5 clarify docs for encrypt_boot 2017-07-14 16:32:47 -07:00
Rickard von Essen
f47c41372e
cloudstack: Add support for ssh_agent_auth 2017-07-14 21:25:20 +02:00
Rickard von Essen
01b9bf4d4f Merge pull request #5127 from rickard-von-essen/cloudstack-docs
cloudstack: Multiple doc fixes
2017-07-14 16:01:51 +02:00
Rickard von Essen
291d9ccaf1
Updated after review 2017-07-14 16:01:08 +02:00
Rickard von Essen
24a53b7ee5 Merge pull request #5121 from mayn/type-doc-file-provisioner
website docs - move period outside of quotation marks for default value on file provisioner
2017-07-14 13:24:59 +02:00
Rickard von Essen
4a6d029554 Merge pull request #5125 from rickard-von-essen/cloudstack-cidr
cloudstack: Add default cidr_list [ 0.0.0.0/0 ]
2017-07-14 11:14:51 +02:00
Rickard von Essen
89b9b4c456
cloudstack: Add default cidr_list [ 0.0.0.0/0 ] 2017-07-14 11:12:41 +02:00
Rickard von Essen
a1a655bfd8
cloudstack: add note to source_iso 2017-07-14 09:42:34 +02:00
Rickard von Essen
bc5f277faf
cloudstack: add user_data_file to docs 2017-07-14 09:33:41 +02:00
Rickard von Essen
e7320b526c
cloudstack: Added missing ssh_username to the example 2017-07-14 08:06:04 +02:00
Rickard von Essen
ec01ffa91b
cloudstack: Moved several settins to the optional section
Moved `instance_name`, `template_name`, and `template_display_name` to the
optional section since the have default values.
2017-07-14 07:58:45 +02:00
Rickard von Essen
0d7c3ac171
cloudstack: Allow reading api_url, api_key, and secret_key from env vars
If unset reads:

- `api_url` from `CLOUDSTACK_API_URL`
- `api_key` from `CLOUDSTACK_API_KEY`
- `secret_key` from `CLOUDSTACK_SECRET_KEY`
2017-07-14 07:34:11 +02:00
Matthew Aynalem
eaccfce29e move period outside of quotation marks designating an attribute value. 2017-07-12 15:03:06 -07:00
bugbuilder
3cc9f204ac Moving vsphere-tpl to vsphere-template, fixed root folder creation and updated docs 2017-07-10 20:52:48 -04:00
bugbuilder
b88fb8bdb2 Improved creation folder step and fixed documentation 2017-07-10 04:13:54 -04:00
bugbuilder
bfb1da6499 Adding documentation 2017-07-09 21:45:57 -04:00
localghost
1bd32d3876 Add documentation about playbook_files option of ansible-local provisioner. 2017-07-09 20:04:01 +02:00
Sander van Harmelen
3f444997b2 Make expunge optional and improve logging output (#5099) 2017-07-07 10:54:58 +02:00
Luke Farnell
bc2c60021e Added ansible-galaxy command to docs 2017-07-06 21:09:23 -04:00
Lars Tobias Skjong-Børsting
c01f6d8708 builder/cloudstack: Support http server (#5017)
builder/cloudstack: Added docs for http server
Closes hashicorp/packer#4949
2017-07-06 11:59:02 +02:00
Luke Farnell
4ff117b136 Fixed typo 2017-07-04 10:41:40 -04:00
Luke Farnell
92637471fa Remove custom commands from docs 2017-07-04 10:39:41 -04:00
Taliesin Sisson
2325c1ee58 Merge pull request #5085 from Lee303/builder-hyperv-temppath
Hyper-V Builder - Add support for temp_path directive to override system %temp%
2017-07-01 06:58:01 +01:00
Taliesin Sisson
d569a1b879 Merge pull request #5014 from Lee303/builder-hyperv-floppydirs
Add support for floppy_dirs with hyperv-iso builder
2017-07-01 06:52:36 +01:00
Lee
599b888278 Update docs to indicate default path 2017-07-01 00:29:18 +01:00
Lee
0680cb08e5 Add support for temp_path directive to override systemp %temp% 2017-07-01 00:19:27 +01:00
Kenjiro Nakayama
2a23ab6f25 Update source build docs 2017-06-29 10:59:05 +09:00
Megan Marsh
657ec011d7 docs: properly indent sub-options for ami_block_device_mappings 2017-06-28 14:26:49 -07:00
Rickard von Essen
46ec8ccb97 Merge pull request #5035 from rickard-von-essen/issue-5018
googlecompute: Allow using URL's for network and subnetwork
2017-06-27 22:03:09 +02:00
Rickard von Essen
f230f00726 googlecompute: Allow using URL's for network and subnetwork
If full server URL's is used in subnetwork we can skip reading from the network
API. This is usefull when you can launch instances in a shared network but don't
have access to do GET on the network resources.

Closes: #5018
2017-06-27 21:58:21 +02:00
Christopher Boumenot
9361a9959c azure: device login notes 2017-06-26 13:31:50 -07:00
Christopher Boumenot
c8939be0e9 azure: rebase issue with docs 2017-06-26 11:13:41 -07:00
Christopher Boumenot
c09f8b84b9 azure: fit and finish
* More unit testing to assert customer's configuration.
 * Further reduce the options that are needed to power an Azure build.
   This seems like a much more manageable level.
 * Update all of the examples to use a more current VM sku.
 * Add an example for RHEL.
 * Move from OpenSuSE to SuSE.
 * Update the docs.
2017-06-26 11:13:39 -07:00
Christopher Boumenot
51e03d39e6 azure: update managed image documentation
Alphabetize the optional arguments.
Add documentation for the custom_data_file option.
2017-06-26 11:13:39 -07:00
James Turnbull
db7a4e56f9 Fixed typo 2017-06-25 22:36:15 -04:00
James Turnbull
df5e35f408 Updating some references from mitchellh to hashicorp 2017-06-25 22:34:23 -04:00
James Turnbull
fd79972ea4 Updated machine readable output in command 2017-06-25 01:05:50 -04:00
Matthew Hooker
56979a1974
Revert "Universally provide POSIX semantics for the shell provisioner."
This reverts commit 1ba7f9cc20.
2017-06-21 16:11:47 -07:00
Rickard von Essen
4f6010aa26
ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding
Closes: #4941
2017-06-19 16:26:18 +02:00
Lee Spottiswood
68bddbbf57 Merge branch 'master' into builder-hyperv-floppydirs 2017-06-18 21:20:15 +01:00
Chainarong Tangsurakit
d4e83f044e Update Builder docs for Google Cloud Platform
Update Builder docs for Google Cloud Platform
2017-06-17 11:41:18 +07:00
Lee Spottiswood
f95093ef63 Add support for floppy_dirs with hyperv-iso builder 2017-06-15 13:12:39 +01:00
Matthew Hooker
bcc0d24bf4
run docs through pandoc 2017-06-14 18:13:46 -07:00
Matthew Hooker
176715b7f0
document profile option. 2017-06-14 16:45:18 -07:00
Matthew Hooker
8dae6b60c1 Merge pull request #4996 from hashicorp/mwhooker/4613
builder/amazon: Support Assume Role with MFA and ECS Task Roles
2017-06-13 17:40:09 -07:00
Matthew Hooker
a215eb15bc
remove trailing whitespace 2017-06-13 16:31:50 -07:00
Matthew Hooker
160d31a568
update documentation on automatic lookup of credentials.
Reverts work in #4612
2017-06-13 16:24:50 -07:00
Justin Campbell
8810d0445e website: Recommend vagrantcloud version from var
When using multiple builders, the post-processor could yield different results for the `{{timestamp}}` interpolation.

By using a variable instead, the version will be consistent across all builders.

https://github.com/hashicorp/packer/issues/4973
2017-06-13 17:14:30 -04:00
Matthew Hooker
11379dea70 Merge pull request #5009 from sjlamerton/salt_bin_dir
Add support for salt_bin_dir
2017-06-13 10:21:53 -07:00
Megan Marsh
dca38b379a missed one page to add mfa_code to 2017-06-12 17:16:27 -07:00
Megan Marsh
b1743a942c port over addition of mfs_code to various amazon docs on website 2017-06-12 17:12:41 -07:00
Rickard von Essen
8eedb24d74 cherry-pick changes to amazon-import from Pickard's PR and clean up formatting 2017-06-12 16:57:47 -07:00
Kent Wang
e59678a033 Fix alicloud-ecs typo
* Fix typo: internet_max_bandwith_out -> internet_max_bandwidth_out
2017-06-11 16:03:28 +08:00
Rickard von Essen
5bc8edc3b2
Updated AWS docs for using default chain 2017-06-09 10:35:48 -07:00
Rickard von Essen
f4f0560101
Updated docs about AWS credentials handeling 2017-06-09 10:29:47 -07:00
Megan Marsh
33af49d980 rename private to be in line with tfe 2017-06-08 15:42:17 -07:00
Matthew Hooker
cd147e2da4 Merge pull request #4970 from hashicorp/4727_sensitive_vars
allow user to mark variables as sensitive for packer push
2017-06-08 15:27:37 -07:00
Megan Marsh
a21870e614 addressing PR comments 2017-06-08 13:24:07 -07:00
Megan Marsh
e81cc7d890 documentation
update to use atlas/go master with newly merged changes for govendor
2017-06-08 13:01:31 -07:00
Matthew Hooker
8e86f8fb12
document VAGRANT_CLOUD_TOKEN 2017-06-07 17:22:28 -07:00
Matthew Hooker
56443d7c14 Merge pull request #4983 from hashicorp/doversioncheck
ansible: add skip_version_check flag
2017-06-07 13:42:27 -07:00
Matthew Hooker
6b67aeed3c Merge pull request #4979 from Lee303/communicator-winrm-ntlmauth
Add NTLM authentication support for WinRM communicator
2017-06-07 13:36:51 -07:00
Matthew Hooker
8f685b3bcd
ansible: add skip_version_check flag 2017-06-07 13:31:56 -07:00
Lee
f86e169564 update docs description for winrm_use_ntlm directive 2017-06-07 20:59:55 +01:00
Matthew Hooker
70b3d05fb3 Merge pull request #4760 from fajpunk/ansible-inventory-dir
inventory_directory option for ansible provisioner
2017-06-07 11:22:23 -07:00
Lee Spottiswood
fe5c981843 add usage docs for winrm_use_ntlm directive 2017-06-07 15:18:31 +01:00
Steven Lamerton
e953898890 Add support for salt_bin_dir
Allows specifying the path to salt-call, useful if it isn't on the
path.
2017-06-07 08:16:23 +01:00
Matthew Hooker
b56c6eca55
docs: more user friendly vagrant cloud example 2017-06-06 14:51:35 -07:00
Matthew Hooker
bc16c13b50 Merge pull request #4961 from magicalbob/grains
Grains
2017-06-06 12:37:18 -07:00
Matthew Hooker
c4ec705791 fix markdown 2017-06-06 12:35:48 -07:00
Ian Ellis
d156c41e3a Added docs for grains_file config item of salt-masterless provisioner 2017-06-06 07:12:44 +01:00
jasminSPC
73b917879d Fixes #4501 2017-06-06 03:19:09 +02:00
Matthew Hooker
74bf0b636b Merge pull request #4791 from optix2000/master
Add version selection for chef-solo provisioner
2017-06-05 15:30:48 -07:00
Matthew Hooker
687f648506 Merge pull request #4634 from dayglojesus/add_amazon_import_license_type
amazon-import post-processor: support license_type
2017-06-05 15:23:14 -07:00
Matthew Hooker
ab81b3ef7d Merge pull request #4699 from BenPhegan/virtualbox_sata_port_count
Add configuration to virtualbox-iso to allow sata port count configuration
2017-06-05 15:21:12 -07:00
Matthew Hooker
f1465395aa
formatting 2017-06-05 10:17:53 -07:00
James Turnbull
0993f24fcf Minor updates to the Docker builder docs to clarify Docker support 2017-06-05 00:32:59 -04:00
Matthew Hooker
b1bcf62ae1 Merge pull request #4619 from zhuzhih2017/master
Add packer plugin which support to create alicloud ecs image
2017-06-02 13:33:10 -07:00
Matthew Hooker
8db397765c
spelling and formatting 2017-06-01 15:47:46 -07:00
Matthew Hooker
1f4b532ed5 Merge pull request #4948 from hashicorp/kms_key_regions
Kms key regions
2017-06-01 13:30:31 -07:00
Megan Marsh
b8c2a5fd43 fix step initializer everywhere StepAMIRegionCopy is called 2017-06-01 09:28:17 -07:00
Megan Marsh
1944f38985 update docs and clean up 2017-05-31 13:41:32 -07:00
Megan Marsh
6a38de4846 add docs 2017-05-31 11:32:14 -07:00
Matthew Hooker
730cc0889e Merge pull request #4919 from hashicorp/fix4798
builder/vmware: make vnc probe timeout configurable
2017-05-30 12:59:22 -07:00
Matthew Hooker
f801c507fc
builder/vmware: make vnc probe timeout configurable 2017-05-30 12:51:45 -07:00
Rickard von Essen
2164700162
comm/ssh: Add support for using SSH Agent auth towards a bastion host.
Adds `ssh_bastion_agent_auth`

Fixes: #4732
2017-05-28 14:05:03 +02:00
James Nugent
c4439aba82 builder/vmware: Add vmx_remove_ethernet_interfaces
This commit adds a new option, `vmx_remove_ethernet_interfaces`, to both
of the VMWare builders. This is useful when building Vagrant boxes,
since Vagrant now produces output such as:

```
WARNING: The VMX file for this box contains a setting that is
automatically overwritten by Vagrant when started. Vagrant will stop
overwriting this setting in an upcoming release which may pre vent
proper networking setup. Below is the detected VMX setting:

   ethernet0.pcislotnumber = "33"

If networking fails to properly configure, it may require this VMX
setting. It can be manually applied via the Vagrantfile:

   Vagrant.configure(2) do |config|
     config.vm.provider :vmware_fusion do |vmware|
       vmware.vmx["ethernet0.pcislotnumber"] = "33"
     end
   end
```

This can be avoided entirely by removing the ethernet adapters from the
VMX file prior to packaging as a Vagrant box, in which case adapters are
created as expected according to the Vagrantfile specification.
2017-05-24 18:53:25 -05:00
Brian Warsing
74de3782a2 fix spacing on related documentation 2017-05-24 11:35:46 -07:00
Brian Warsing
c23f212bbb Update amazon-import.html.md
Include usage info and example for `license_type` configuration option
2017-05-24 11:30:24 -07:00
r_takaishi
67ce2da59e add cacert config to specify custom CA certificate file 2017-05-24 14:21:16 +09:00
r_takaishi
c909a27e7b fix docs 2017-05-24 14:07:12 +09:00
r_takaishi
a36d9d6b44 add docs 2017-05-24 10:27:29 +09:00
Justin Campbell
db91f94a08 website: Add Vagrant note to atlas post-processor 2017-05-23 11:21:34 -04:00
Justin Campbell
e934633df9 website: Remove Vagrant from Atlas post-processor 2017-05-23 11:16:50 -04:00
Justin Campbell
e554c3d8f7 website: Un-deprecate vagrant-cloud post-processor 2017-05-23 11:15:24 -04:00
Justin Reagor
edc8eabe2e Note documentation when building images under private Triton 2017-05-21 14:40:36 -04:00
Sean Chittenden
1ba7f9cc20
Universally provide POSIX semantics for the shell provisioner.
All platforms everywhere have `env(1)` available, leverage it
accordingly.

Improves on: #2343
2017-05-20 09:28:02 -07:00
Matthew Hooker
740f438639
clarify that variables can't be used inside type 2017-05-20 00:53:31 -07:00
Matthew Hooker
4d84915bf8 Merge pull request #4890 from jamtur01/varrename
Updated the naming of variables
2017-05-20 00:50:27 -07:00
Matthew Hooker
0479def3ae
docs/amazon: alpha sort fields 2017-05-17 10:33:57 -07:00
Matthew Hooker
710010fbe0 Merge pull request #4896 from remijouannet/f-amazon_builder_custom_endpoint
add an option custom_endpoint_ec2 for amazon builder, add a condition…
2017-05-17 10:31:40 -07:00
Rémi Jouannet
38e111ad15 add documentation for custom_endpoint_ec2 2017-05-17 19:20:02 +02:00
Doug Ireton
e15f88bd5d Use current generation instance type
m1 instance types are no longer available from AWS. Use `t2.small` instance type in example
2017-05-17 10:05:51 -07:00
Luke Farnell
22ab1494c4
Added docs 2017-05-16 21:00:13 -07:00
Matthew Hooker
b0a6bb24e1 Merge pull request #4812 from hashicorp/checksumfix
post-processor/checksum: fix crash when invalid checksum is used
2017-05-16 10:42:38 -07:00
James Turnbull
0a544082ee This is a more substantive rewrite than intended
This is more than I planned but I think it makes things a little clearer
and perhaps organizes the page more clearly? I'd be happy to take
another example for template variables if someone can posit one.
2017-05-15 16:59:12 -04:00
Matthew Hooker
57d15432db Merge pull request #4879 from thrashr888/thrashr888/fix4693
Fix issue 4693 - Derive vpc_id from subnet_id
2017-05-15 13:49:33 -07:00
Paul Thrasher
0be5a28080 Fix issue 4693 - Derive vpc_id from subnet_id
In AWS we can derive the `VpcId` and AZ from the `SubnetId`, so now we do. In the config you can now only specify the `SubnetId`.

This fixes issue #4693.
2017-05-15 13:46:05 -07:00
James Turnbull
cae2170375 Updated the naming of variables
Ensured template variables are described as that where references and
distinguished from user variables.
2017-05-15 15:41:27 -04:00
Matthew Hooker
5425b38083
docs: add line break 2017-05-15 11:52:25 -07:00
James Turnbull
f73617b6b7 Made some changes to the Packer templating docs
1. Added the `user` function.
2. Some tidying up of language.
2017-05-15 14:31:58 -04:00
Matthew Hooker
38536b3d53 Merge pull request #4866 from feministy/liz/docs-wording
docs: clarify language for "easy"/"simple", update website readme
2017-05-10 13:40:16 -07:00
liz abinante
489f3ee2b0 make the garbage sentence less confusing 🎉 2017-05-10 13:18:17 -07:00
Sönmez Kartal
b189252f98
Add ONBUILD field to acceptable metadata list
Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
2017-05-10 17:14:08 +03:00
Sönmez Kartal
56ec046fe5
Add LABEL field to acceptable metadata list
Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
2017-05-10 17:13:38 +03:00
Sönmez Kartal
1d66ecf0f8
Add deprecation notice for MAINTAINER field
Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
2017-05-10 17:03:15 +03:00
liz abinante
5139949d5c docs: some stuff is easy, some stuff is not let's be more descriptive 2017-05-09 11:49:02 -07:00
Matthew Hooker
30a957d556
website: document how to enable advanced networking 2017-05-03 22:45:48 -07:00
Ben Phegan
c4b8e8e5df Merge branch 'master' into virtualbox_sata_port_count 2017-05-01 09:23:05 +10:00
Matthew Hooker
8e277b0ad3 remove tilde expansion 2017-04-26 15:54:18 -07:00
James Nugent
d2ae36214a builder/triton: Reconcile #4829 and #4838 docs
This changes the default region to match the default from Joyent
documentation.
2017-04-26 15:47:04 -07:00
James Nugent
a0271a18c1 Merge pull request #4838 from jen20/triton-new-lib
builder/triton: Replace deprecated joyent/gosdc library with joyent/triton-go
2017-04-26 15:14:20 -07:00
James Nugent
d46a8593ae builder/triton: Update documentation 2017-04-26 14:02:04 -07:00
Dan Fuchs
8401057ed5 Merge branch 'master' into ansible-inventory-dir 2017-04-26 13:20:00 -05:00
s-tajima
7df6b85ce1 fix typo in amazon-ebssurrogate.html.md 2017-04-26 19:34:48 +09:00
Matthew Hooker
e8cada8bf7
document and remove artifactID 2017-04-24 10:49:09 -07:00
Rickard von Essen
7b5c56bff4
ansible-local/ansible: Clearify docs regarding extra_arguments
Closes: #4822
2017-04-23 12:56:31 +02:00
Rickard von Essen
999f2da499
ansible-local/ansible: Add extra-vars packer_*
Added:
- `packer_build_name`
- `packer_builder_type`
- `packer_http_addr` - `ansible-local` only

Closes: #4820
2017-04-23 12:55:01 +02:00
Dan Fuchs
97c819dc15 Merge branch 'master' of https://github.com/mitchellh/packer into ansible-inventory-dir 2017-04-20 10:34:03 -05:00
Matthew Hooker
3608d81319
website/qemu: move misplaced config option 2017-04-19 12:04:45 -07:00
TsuyoshiUshio
47419e92ea Adding object_id for OSType = Windows
When we build a Windows based VHD image, we need to specify object_id.
However, object_id is very ambigous and not mentioned on this document.
I add some explanation and how to get it.
2017-04-19 15:26:37 +09:00
Matthew Hooker
d30605fdfb
use json markdown syntax 2017-04-18 11:35:42 -07:00
Matthew Hooker
56d38b8237
website: fix list formatting 2017-04-18 11:35:41 -07:00
zhuzhih2017
d646e1d035 refactor the code according hashicorp rename the repository 2017-04-18 15:14:45 +08:00
Weilu Jia
943563e957 Update chef-solo documentation to match latest changes 2017-04-12 16:30:07 -07:00
Weilu Jia
05d46c61f7 Add documentation for chef-solo version pinning 2017-04-12 16:27:59 -07:00
Luke Farnell
3ad05eb85c Adding monitoring to the docs 2017-04-09 11:25:54 -04:00
Marc Tamsky
52060e41bf {{user}} is not allowed in variables section
https://github.com/hashicorp/packer/issues/1942
2017-04-07 14:19:31 -07:00
Dan Fuchs
50637a68bf Clarify inventory_directory in ansible provisioner docs 2017-04-04 22:58:46 -05:00
Jeremy Voorhis
f06db39c7d Removes a supurious docs section. 2017-04-04 20:00:38 -07:00
Dan Fuchs
609e70face inventory_directory option for ansible provisioner
Add an `inventory_directory` setting to the Ansible provisioner that
allows a user to specify a directory in which the Packer Ansible
provisioner would write the generated inventory file.  If a value is
specified for this setting, then have the Packer Ansible provisioner
pass this directory as the -i arg when it calls ansible.

This would allow an Ansible playbook used by the Packer Ansible
provisioner to use variables specified in `host_vars` and `group_vars`
in this inventory directory.
2017-04-04 16:43:46 -05:00
Matthew Hooker
81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Matthew Hooker
589f8b72dc
provisioner/ansible-local: document staging dir
We made the staging directory random earlier, so let's document it properly.
2017-04-04 12:01:32 -07:00
Anton Kvashenkin
fe3cdf5fe4 Merge branch 'master' into website-docs-windows-restart 2017-04-03 22:06:26 +03:00
Andy Bulford
531887d2bb Fix a couple of typos 2017-03-30 16:55:08 +01:00
Howard Nguyen
0acdc8159c Removed merge conflict from Docker example web page 2017-03-28 18:12:47 -07:00
Matthew Hooker
5e196490ab
fix typo 2017-03-28 17:09:41 -07:00
Seth Vargo
38e0ba8bd3
Fix broken links 2017-03-28 18:28:34 -04:00
Jason Costello
6cbb137883
Bring my changes over to this branch 2017-03-28 16:05:23 -04:00
Seth Vargo
6b80c21043
Revamp pages and docs to fit HashiCorp brand 2017-03-28 16:05:19 -04:00
Matthew Hooker
af48ea255e Merge pull request #4725 from rickard-von-essen/gce-windows
builder/googlecompute: Added Windows example to the docs.
2017-03-28 10:41:41 -07:00
Rickard von Essen
f15925b017
builder/googlecompute: Added Windows example to the docs.
Closes: #4713
2017-03-28 17:27:57 +02:00
Matthew Hooker
2f4dc74635
remove windows smart quotes 2017-03-27 14:41:03 -07:00
Matthew Hooker
9b73cab78f
website/docs: fix typo 2017-03-24 23:27:07 -07:00
Matthew Hooker
3c13a6e99c
website/docs: add note about systemd and amazon-chroot. 2017-03-24 15:42:11 -07:00
Matthew Hooker
506a1e6186
document skipping copy_files 2017-03-24 13:51:52 -07:00
Ben Phegan
7e8724c1b3 Add documentation for virtualbox-iso sata_port_count 2017-03-23 09:33:50 +11:00
Matthew Hooker
f9c2d6e01d Merge pull request #4683 from hfinucane/master
Fix example in documentation
2017-03-18 17:38:14 -07:00
Matthew Hooker
c0a02d17ef
fix example json 2017-03-18 17:37:02 -07:00
Matthew Hooker
68e2b150cd
builder/virtualbox: allow skipping upload of version file 2017-03-16 18:14:11 -07:00
Matthew Hooker
b8cf6a9e1b
fix indentation 2017-03-15 12:34:12 -07:00
Rickard von Essen
eefa3e3ffb
amazon-chroot: Fixed indentation 2017-03-15 20:09:07 +01:00
Rickard von Essen
8c2a8f5f81 Merge pull request #4655 from lbordowitz/ostk-sshca
OpenStack: Add ssh agent support
2017-03-14 21:07:03 +01:00
Rickard von Essen
ad5a41082e
openstack: Updated docs for ssh_agent_auth and temporary_key_pair_name 2017-03-13 20:18:05 +01:00
Anton Kvashenkin
d189676ff0 Website/docs: make windows-restart provisioner description more accurate
As per https://github.com/mitchellh/packer/blob/master/provisioner/windows-restart/provisioner.go#L16
windows-restart doesn't stop winrm prior to restart host.
2017-03-12 12:48:08 +03:00
zhuzhih2017
b7c1765deb Merge branch 'master' of github.com:zhuzhih2017/packer 2017-03-12 11:42:30 +08:00
zhuzhih2017
0400ebae95 Fix the code according PR review 2017-03-12 10:22:25 +08:00
Rickard von Essen
a047916944 Merge pull request #4621 from hui-yang/disk-type
builder/parallels-iso: Configuration of disk type, plain or expanding
2017-03-10 19:32:41 +01:00
Rickard von Essen
de73e22e2c
Reverted command/plugin.go and reworded docs 2017-03-10 19:18:44 +01:00
Larry Bordowitz
c5b8a1069a Add ssh agent to enable SSH-CA authentication. 2017-03-10 08:45:50 -08:00
Matthew Hooker
f8a8952231
website/docs: fix file upload tar script 2017-03-09 17:39:46 -08:00
Matthew Hooker
322eeeb4ac
website/docs: make file provisioner reqs clearer
Make extra clear the file provisioner needs destination directory to exist.
2017-03-09 17:30:09 -08:00
Matthew Hooker
e63a646afe
website/docs: note docker behavior in file provisioner 2017-03-09 16:32:01 -08:00
Matthew Hooker
2f05010f5a
website/docs: atlas token not required 2017-03-09 13:27:23 -08:00
Rickard von Essen
2f50d7bea5 googlecompute: Added missing disk_name option to docs. 2017-03-08 19:47:08 +01:00
Rickard von Essen
eac5b6392d googlecompute: Correct values for on_host_maintenance
If preemptible is true then on_host_maintenance must be TERMINATE.

Also corrected order in docs.

Closes #4620
2017-03-08 19:44:07 +01:00
huiyang
b3c6ef9f6b Skip disk compaction for plain disks 2017-03-07 18:22:23 -08:00
Matthew Hooker
57d2fede3f
the digitalocean ubuntu user is root 2017-03-06 13:08:34 -08:00
Matthew Hooker
615b903817 Merge pull request #4628 from mitchellh/re4622
Re4622
2017-03-06 10:27:38 -08:00
Matthew Hooker
5ac53907c2
docs/qemu: reformat 2017-03-06 10:26:58 -08:00
Michael Ledin
ded2693ee7
Add floppy size limitation notice.
Should help people dealing with #4570 and #3328 because packer copies
`floppy_files` to floppy without any error even if they exceed 1.44 MB
limit. `floppy_dirs`throws error about FAT size limit exceeded but
without mentioning that real issue is the floppy size limit:
```
Build 'qemu' errored: Error adding path virtio_iso to floppy: FAT FULL
```
2017-03-06 10:26:49 -08:00
Kerim Satirli
37feec41d9 fixes broken link to EBS surrogate page 2017-03-06 09:44:07 +01:00
zhuzhih2017
b420c0fe0c Fix the code according PR review 2017-03-04 18:33:42 +08:00
huiyang
52d4514d6a builder/parallels-iso: Configuration of disk type, plain or expanding 2017-03-03 15:32:51 -08:00
zhuzhih2017
fadfb696dd Add packer plugin which support alicloud ecs images 2017-03-03 16:56:17 +08:00
Matthew Hooker
24275aed41
fix triton layout 2017-03-02 01:06:30 -08:00
Petrik van der Velde
411b00518b Added NuGet as alternative installation. 2017-03-02 20:23:13 +13:00
Matthew Hooker
f830fdd28e Merge pull request #4612 from mitchellh/fix4553
document how aws-sdk uses the shared credentials file
2017-03-01 16:45:58 -08:00
Matthew Hooker
26f9c61137
spellfix 2017-03-01 15:45:29 -08:00
Matthew Hooker
131e1e3857
clarify that it's profile name 2017-02-28 23:23:36 -08:00
Matthew Hooker
6b95de73c4
document how aws-sdk uses the shared credentials file
from https://docs.aws.amazon.com/sdk-for-go/api/aws/credentials/\#SharedCredentialsProvider
2017-02-28 23:09:52 -08:00
James Nugent
e856339309 build/amazon-ebssurrogate: Add region copy, attributes, tags steps
As pointed out in the initial code review of #4351, some of the steps
from the standard EBS builder were (intetionally) omitted. It turns out
that these actually are useful, and the original rationale for the
omission was wrong. Consequently, this commit adds in the following
steps:

- `StepPrevalidate`
- `StepTagEBSVolumes`
- `StepDeregisterAMI`
- `StepCreateEncryptedAMICopy`
- `StepAMIRegionCopy`
- `StepModifyAMIAttribute`
- `StepCreateTags`

We also fix the interpolation filter and documentation to reflect these
additions, though the majority were already documented and just not
functional.
2017-02-27 09:05:39 -06:00
Matthew Hooker
61976dfd86 Merge pull request #4578 from life360/enable_ena
Always set both SRIOV and ENA when Enhanced Networking is enabled
2017-02-26 19:31:22 -08:00
Matthew Hooker
1f2df5c174 Merge pull request #4536 from mitchellh/vmwareextraopts
builder/vmware: allow extra options for ovftool
2017-02-26 18:45:40 -08:00
Matthew Hooker
1351a9ce1a
also document the kms field 2017-02-26 17:54:42 -08:00
Matthew Hooker
6b2d73c042
ebs surrogate does not support ebs encryption 2017-02-26 17:54:30 -08:00
Matthew Hooker
78fea60bce
document encrypt_boot option for chroot 2017-02-26 17:49:33 -08:00
Matthew Hooker
f62d0abf4e Merge pull request #4560 from guessi/deprecated_option_tag
Conditional ignore `force` flag for `docker-tag`
2017-02-26 17:43:25 -08:00
Aaron Stone
7f7909d6d4 Docs for Enhanced Networking enabling both SriovNetSupport and ENA 2017-02-25 07:16:47 -08:00
Basil Peace
eecaa8a722 Escape quotes in JSON in shell-local example 2017-02-24 19:16:26 +03:00
Christopher Boumenot
0c04b3a46a Update docs for deprovision and defaults
Change the Windows samples to include sysprep.

Document the default user name for Linux, and why it was chosen.

Document temp_compute_name and temp_resource_group_name, and provide a
reason why you would want to override them.

Document the deprovision process for Windows and Linux.

Document the skip_clean option as it pertains to Linux deprovision.
2017-02-23 10:43:12 -08:00
hfinucane
4eed1b8377 Fix example
`device_setup_commands` appears to no longer be a real name.
2017-02-22 10:32:49 -08:00
James Nugent
635aeb765b amazon/ebssurrogate: Add New Builder
This commit adds a new type of builder which builds an AMI based on a
snapshot of an EBS volume which is provisioned on a "surrogate"
instance. This can be used to build operating system images from
scratch, but unlike the `chroot` builder does not require running from
an AWS EC2 instance.
2017-02-21 18:38:19 -06:00
Matthew Hooker
3409ea76ee Merge pull request #4564 from wtsi-hgi/fix/4551-openstack-builder-reuse-ips
add reuse_ips option for openstack builder
2017-02-21 15:20:10 -08:00
Matthew Hooker
83de056e7f
document docker staging directory. 2017-02-21 14:50:06 -08:00
Basil Peace
d9a669f55c
Use .HTTPIP instead of fixed IP address 2017-02-21 22:34:16 +03:00
Matthew Hooker
b04a878ea8
small spelling fix 2017-02-21 11:13:06 -08:00
Joshua Randall
e9cfaa2730 add reuse_ips option for openstack builder
add reuse_ips option and use it to control whether openstack builder
will attempt to reuse existing unassigned floating ips rather than
allocating a new one.

fix #4551
2017-02-16 12:44:03 +00:00
guessi
5eae809b0c improve description 2017-02-16 01:14:21 +08:00
guessi
c5e01da3c6 Conditional ignore force flag for docker-tag
`docker tag -f` will now become an error, since it was removed after
upgrading docker daemon to 1.12.0 (or later)

this PR is to bypass `force` flag if docker >= 1.12.0 was detected

reference:
- https://docs.docker.com/engine/deprecated/#/f-flag-on-docker-tag

Signed-off-by: guessi <guessi@gmail.com>
2017-02-16 00:50:46 +08:00
Matthew Hooker
572493e9b4 Merge pull request #4216 from dave2/gh-3981
amazon-import: support AMI attributes on import
2017-02-10 23:36:38 -08:00
Matthew Hooker
84b8103df7
add community page 2017-02-10 20:10:49 -08:00
Matthew Hooker
488767bc25
add a note about temporary resource names 2017-02-10 19:51:43 -08:00
Matthew Hooker
1d0879ef42
miscellaneous spelling fixes 2017-02-10 19:51:38 -08:00
Matthew Hooker
7911d3a13b
more information about the temporary keypair name 2017-02-10 19:38:34 -08:00
Matthew Hooker
4f92b9fb61
Merge branch 'pr/4544' 2017-02-10 12:11:43 -08:00
Matthew Hooker
6eaf8f4559
tighten up docs 2017-02-10 12:11:08 -08:00
Dimitri Rudnev
2009fcd9df OnHostMaintenance, googlecompute updating documenation , additional option for validation and setting defaults 2017-02-10 11:57:15 -08:00
Matthew Hooker
2ce9f00753
populate missing links 2017-02-10 00:40:36 -08:00
Matthew Hooker
0ed84f843e
builder/vmware: allow extra options for ovftool 2017-02-10 00:22:20 -08:00
Matthew Hooker
3c290f7c7e
docs/ansible-local: playbook_paths clarification 2017-02-10 00:01:09 -08:00
Matthew Hooker
cbe04108d0
use short temp dirs.
Closes #2792
2017-02-09 20:09:06 -08:00
Matthew Hooker
0cfa532a1a
add other artifacts to atlas artifact list 2017-02-08 14:41:54 -08:00
Matthew Hooker
65a9b8edf4
builder/amazon: ssh_private_ip works for winrm 2017-02-04 01:01:58 -08:00
Matthew Hooker
32259f478d
make note about using UUIDs vs timestamps 2017-02-03 19:01:56 -08:00
Matthew Hooker
c0f8f44a10
remove obsolete config key 2017-02-02 01:25:03 -08:00
Matthew Hooker
efa29f0e7a Merge pull request #4460 from mitchellh/ulimit
add debug note about ulimits.
2017-02-01 22:05:09 -08:00
Matthew Hooker
df440f7877 Merge pull request #4477 from mitchellh/ansibleremoteuserno
docs/ansible: clarify that we ignore remote_user
2017-02-01 22:02:29 -08:00
Matthew Hooker
9ab148e56d Merge pull request #4476 from mitchellh/ansicolor
ansible does its own coloring.
2017-02-01 22:02:08 -08:00
Matthew Hooker
eec93dfca7 Merge pull request #4473 from mitchellh/symboldoc
document how we upload symbolic links
2017-02-01 22:01:49 -08:00
Matthew Hooker
fe4dd6ef23 Merge pull request #4205 from jfbibeau/patch-1
Docs: add QCOW2 format support for `iso_url`
2017-01-30 12:10:05 -08:00
Rickard von Essen
4ffbfde09b
s/communicator/connection plugin/ to align with Ansible nomenclature 2017-01-30 12:11:48 +01:00
Rickard von Essen
a5171fef4d
provisioner/ansible: Add documentation howto use with chroot
Closes #3583
2017-01-30 12:09:55 +01:00
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