Commit Graph

2045 Commits

Author SHA1 Message Date
Matthew Hooker 54a42665e0
qemu support for xen is no longer experimental.
versions of qemu prior to 1.0 only had experimental support for xen. Xen
is now part of qemu main-line, and so should be fully supported.  See
https://wiki.xenproject.org/wiki/QEMU_Upstream.
2017-09-29 12:42:40 -07:00
Matthew Hooker b3661c1f63
builder/docker: set user during exec.
Add `exec_user` option to control what user `docker exec` is run as.
2017-09-28 16:39:23 -07:00
Megan Marsh ae6dae2726 add quoteless option to sudo example 2017-09-27 16:02:18 -07:00
SwampDragons 0ef12c9810 Merge pull request #5365 from DanHam/gh-4322-psleak
Fix Powershell Progress stream leak to stderr for normal and elevated commands
2017-09-26 15:53:54 -07:00
DanHam b7bb6b54b4 Update docs with new defaults for Powershell commands 2017-09-26 11:07:38 +01:00
Oscar Elfving 8173e5d3ce Updated docs with more robust sysprep script for the windows Azure builder 2017-09-26 11:56:46 +02:00
Zanetti, David 2a6b592c99 Add docs for security_group_source_cidr option on Amazon builders 2017-09-26 01:44:58 +00:00
Matthew Hooker 02cd6bc7f0 Merge pull request #5288 from hashicorp/fix3114
add token variable to upload bundle command template
2017-09-25 18:36:28 -05:00
Matthew Hooker 4bc8e7de3d
add token variable to upload bundle command template 2017-09-25 16:35:53 -07:00
Peter Mounce ac8eedf171 Introduce a new configuration parameter instead
... so that one can have a different list compared to instances.
2017-09-18 17:53:40 +01:00
Peter Mounce 8789ae72e8 Make the googlecompute builder label the resulting image.
... so that it's possible to find images matching particular characteristics more easily.
2017-09-18 15:44:01 +01:00
Megan Marsh f71a25c7a7 Merge pull request #5345 from hashicorp/elevated_vars_4994
Elevated vars 4994
2017-09-15 09:12:58 -07:00
Megan Marsh 5d63f01fed Update docs for elevated_execute_command with new default command 2017-09-15 08:14:12 -07:00
Matthew Hooker e8c54cb496
docs: update default value for `expect_disconnect` 2017-09-14 17:49:34 -07:00
Matthew Hooker 7be2ad6312
docs: fix sidebar link to powershell 2017-09-14 12:59:31 -07:00
Megan Marsh f86d45eaf6 fix docs for execute_command and elevated_execute_command 2017-09-14 10:50:38 -07:00
SLAZ666 f6bb79784f Add option keep_registered to virtualbox-ovf builder 2017-09-13 15:37:26 +02:00
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 bec4024b19 Merge pull request #5314 from hashicorp/remotebuildsdocs
Remotebuildsdocs
2017-09-11 11:44:11 -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 df64021c16
website: remove remote-builds 2017-09-07 09:58:46 -07:00
Matthew Hooker 0857cfbd4b
removing atlas from docs 2017-09-07 09:46:02 -07:00
Matthew Hooker fc0fc3866d
website: remove hashicorp-ecosystem 2017-09-07 09:01:08 -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 3b09a324c4 [lxd] add link to lxd docs from layouts 2017-09-05 12:45:47 -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
Seth Vargo 3d0ab090b0
Remove people from community section
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 14:12:01 -04: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
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
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
Megan Marsh 6f73e73240 Merge pull request #5084 from hashicorp/4633
clean up stale documentation for packer push
2017-07-03 13:37:26 -07: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
Megan Marsh b59383f88a clean up stale documentation for packer push 2017-06-29 10:25:51 -07: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
Megan Marsh 52113dcdb9 update getting started docs to use a filter meaning they should stay up to date longer 2017-06-20 11:21:49 -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
Matthew Hooker 6df85f6e97 Merge pull request #5002 from pragkent/alicloud-ecs-fix
Fix builder alicloud-ecs
2017-06-12 10:37:29 -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
Brian Cain 7a6e35aa14 Add Nomad to HashiCorp ecosystem doc page 2017-06-09 14:55:58 -07: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