Commit Graph

2561 Commits

Author SHA1 Message Date
Megan Marsh c1cb31a8a9 add documentation to ansible provisioner warning against running Packer as root 2018-05-09 09:59:54 -07:00
M. Marsh abb70bfa80
Merge pull request #6215 from tb3088/delay-extraArgs-4462_clean
Delay evaluation of ExtraArguments and standardize puppet-server and puppet-masterless
2018-05-08 15:03:55 -07:00
Christopher Boumenot b5efda4577
Merge pull request #6105 from boumenot/pr-azure-device-login-usgov
azure: device login for US Gov
2018-05-08 11:59:54 -07:00
Matthew Patton f510a8667b standardize documentation between provisioners. 2018-05-08 12:29:13 -04:00
Matthew Patton 399edbe5e7 revert false economy WRT .ExtraArguments 2018-05-08 10:12:22 -04:00
Matthew Patton b505cecd98 sync docs to code 2018-05-08 09:53:18 -04:00
Megan Marsh 2b2bd5715c fix docs 2018-05-07 15:10:10 -07:00
Megan Marsh 1bea658e16 fix command and inline calls on windows 2018-05-07 15:10:10 -07:00
Megan Marsh 9651432378 preserver BC for people using 'command' option 2018-05-07 15:10:10 -07:00
Megan Marsh dd183f22d9 update docs and add warnings around WSL limitations 2018-05-07 15:10:10 -07:00
Megan Marsh 51bcc7aa13 add new feature for telling shell-local whether to use linux pathing on windows; update docs with some examples. 2018-05-07 15:10:10 -07:00
Megan Marsh 5da4377f21 first pass at docs update 2018-05-07 15:10:10 -07:00
Christopher Boumenot 80a096cadd azure: device login for US Gov 2018-05-06 20:59:38 -07:00
Don Luchini 1cd825584e Documentation for staging directory cleanup flag. 2018-04-27 19:35:01 -04:00
Jeff Escalante d00b482029 Resolve FOUT Issue 2018-04-27 17:12:00 -04:00
M. Marsh df5c67090e
Merge pull request #6193 from adarobin/hvf
add support for hvf accelerator to qemu builder
2018-04-27 11:41:01 -07:00
Adam Robinson 29b89e63b8 add support for hvf accelerator to qemu builder 2018-04-27 10:11:20 -04:00
M. Marsh eb557af8bf
Merge branch 'master' into f-autocomplete 2018-04-26 11:18:37 -07:00
Adam Robinson 3aebd5f462 Add use_fixed_vhd_format Hyper-V ISO option 2018-04-26 13:35:19 -04:00
M. Marsh 2300b55a62
Merge pull request #6195 from sbarthelemy/patch-2
Hint about using --on-error=ask when debugging
2018-04-25 15:42:11 -07:00
Megan Marsh 227af03625 update version and website for 1.2.3 2018-04-25 14:12:38 -07:00
Sébastien BARTHÉLÉMY 0130f1f794
Hint about using --on-error=ask when debugging 2018-04-25 21:12:09 +02:00
Megan Marsh 59e3ec722d allow user to mount entire block device in chroot builder 2018-04-25 10:47:52 -07:00
Matthew Aynalem 540a6a29f4 minor fix for some links that aren't being rendered and incorrect datatype 2018-04-24 13:07:04 -07:00
M. Marsh 52df315ca9
Merge pull request #6160 from DanHam/fix-powershell-ssh
Fixes for PowerShell using ssh communicator
2018-04-24 11:03:35 -07:00
DanHam f17523401e
The default path for uploading the PS script now incorporates a UUID 2018-04-24 11:10:35 +01:00
DanHam 8bbc9be713
Explain how to manually set {{.Path}} and {{.Vars}} 2018-04-24 11:10:35 +01:00
DanHam 2779fb0042
Additional information for using PowerShell with SSH 2018-04-24 11:10:35 +01:00
DanHam 5db82aab21
Doc option allowing override of the path the env var script is uploaded to 2018-04-24 11:10:35 +01:00
Richard Nienaber 2cfbb83b70 fix typo 2018-04-24 10:36:54 +01:00
Richard Nienaber db65c99bf4 update code based on master and update docs 2018-04-24 10:35:27 +01:00
Megan Marsh 6f727cd85d clarify how to change google compute's firewall setting 2018-04-23 15:21:00 -07:00
Jeff Escalante a0fa374844 bring back turbolinks and adjust scripts to match 2018-04-23 14:18:00 -04:00
Rickard von Essen a2a593759e
Merge pull request #6041 from Xeite/f-add-instance-name
builder/openstack: Add instance_name config to OpenStack builder
2018-04-23 08:47:50 +02:00
Tyler Tidman 90fde9fc46 More cleanup in communicator and builder docs
Tested and verified using "make website".
Fix up the vmware, vbox and qemu builder and communicator docs.
Sort more things in alphabetical order.
Use backtick delimiters for values.
Wrap long lines to 80 characters.
Show actual default value for boot_wait.
Copy vrdp_bind_address info from vbox iso to vbox ovf builder.
Show defaults for vmx_remove_ethernet_interfaces.
Show default port values for ssh in vbox ovf builder.
Remove executable bit on openstack builder doc.
Show default for skip_compaction in vmware vmx builder.
Add a bunch of missing periods.
Remove a few redundant commas.
2018-04-21 20:50:40 -04:00
M. Marsh bcbee45bf9
Merge pull request #6039 from stack72/triton-insecure-skip-tls-verify
builder/triton: Add support to Skip TLS Verification of Triton Certificate
2018-04-20 13:44:28 -07:00
Matthew Hooker 40d054a1a7
add recommended vmware network setting when using HTTPIP. 2018-04-20 12:28:11 -07:00
Matthew Hooker 7d43324359
add menu key.
Replaces #5989
2018-04-19 14:26:31 -07:00
Matthew Hooker 84894ca459
remove nonsensical negative waits. 2018-04-19 14:26:30 -07:00
Matthew Hooker 9a839c401b
fix formatting 2018-04-19 14:26:30 -07:00
Matthew Hooker c753391f43
fill out and reformat the boot command docs 2018-04-19 14:26:30 -07:00
Matthew Hooker f5b09c8c38
set vim pandoc modeline 2018-04-19 14:26:30 -07:00
Matthew Hooker 4454e4fb4f
Use erb to add support for partials. 2018-04-19 14:26:30 -07:00
Matthew Hooker 36aeaf27b3
Use a partial for the boot command docs.
I know we rejected this idea back in #4061, but we are closer to being at a point
where we can host a version of the website on master, and this will help push that through.
2018-04-19 14:26:30 -07:00
alexgottschalkmedal 38e419dd8c
Update amazon.html.md
Fix typo - CreateKeypair should be CreateKeyPair
2018-04-19 13:07:20 -07:00
M. Marsh f5c031baf9
Merge pull request #5941 from synax/hyper-v-disk-block-size
Adds Support to configure hyper-v disk block size
2018-04-19 11:27:52 -07:00
Matthew Hooker a8072614e1
update gemfile.lock 2018-04-18 16:34:32 -07:00
Jeff Escalante 30429deb8c remove turbolinks & other analytics tests 2018-04-17 20:25:22 -04:00
Matthew Hooker 2f58511252
update middleman 2018-04-17 11:44:43 -07:00
Matthew Hooker e7db66faf7
update middleman docker version 2018-04-16 15:31:09 -07:00
Jeff Escalante fd670e7799 move analytics.js to the head 2018-04-16 17:34:27 -04:00
Matthew Hooker 747d1eba27
add a note about sdl errors and how to fix. 2018-04-16 10:39:11 -07:00
John Morrissey b5ec42e62f fix missing comma in docs for lxd builder 2018-04-14 09:15:21 -04:00
Jeff Escalante 5e22942f30 analytics script adjustments 2018-04-13 17:59:14 -04:00
Mickaël Fortunato 6bb173045a fix: documentation scaleway - update commercial type name 2018-04-07 22:12:19 +02:00
Megan Marsh 6da6ea74de add warning to generated feature in file provisioner 2018-04-05 16:12:20 -07:00
M. Marsh 56dd8cdb63
Merge pull request #3891 from nouney/f-generated-files
Add "generated" file tag to allow users to upload files created on the fly.
2018-04-05 16:08:38 -07:00
Megan Marsh bb53d5f6cc update docs to include Azure. 2018-04-05 15:26:19 -07:00
Omer Katz c0719a3590
Allow using a custom inventory file. 2018-04-05 12:56:07 +03:00
vkatsikaros 8fdd20ec2d
Add simpler example for chef client in local mode
The existing documentation example looks intimidating as it includes:
* variable interpolation
* configuration of the chef provisioner
* and it misses the `config_template` file
In the issue comments, [simpler and complete example](https://github.com/hashicorp/packer/issues/3355#issuecomment-198134727) exists already and works out of the box.

This change adds the simpler and complete example, while leaving the more complicated example intact.
2018-04-03 16:29:51 +03:00
Megan Marsh 67d2de8de1
Merge pull request #6079 from hashicorp/do_5866
add user data and user data file to oracle oci builder
2018-04-02 16:48:48 -07:00
Megan Marsh 22608f3efd
Merge pull request #6088 from adongy/master
Expose more source ami data in the template
2018-04-02 16:32:16 -07:00
Anthony Dong 5b7e058d0a Add documentation for template variables available for tagging 2018-04-02 19:32:14 +02:00
Jeff Escalante a952148800 adjustments to analytics scripts
- remove existing GTM tag from head to prevent double tracking
- adjust selector to not include non-download links
- send a cleaner breakdown of download parameters for easier analysis
2018-04-02 12:30:15 -04:00
Megan Marsh ec5eba82cc add docs for user_data_file and user_data to oracle-oci builder page 2018-03-30 10:57:40 -07:00
Elijah Caine M. Voigt 091ac8fa59
Update qemu basic example
Referenced `iso_url` was a dud.
Added updated iso url and md5 checksum.
2018-03-28 11:22:20 -07:00
Matthew Hooker 14e1c4ebee
fix json formatting issue 2018-03-28 09:04:06 -07:00
Megan Marsh 17db461404
Merge pull request #6058 from mayn/fix-docs-commands
docs/commands - update options to match those listed in command help output
2018-03-27 11:00:25 -07:00
Matthew Aynalem a9660c0aea docs/commands - update options to match those listed in command help output 2018-03-26 16:39:37 -07:00
Megan Marsh 3fbab16abf cut v1.2.2 2018-03-26 14:20:41 -07:00
Christos Varelas b8313e00f1
Make minor edit
H humble edit for a simple syntax error
2018-03-26 21:01:54 +02:00
Megan Marsh b5635ac393
Merge pull request #6053 from hashicorp/fix5958
freebsd > 9 required note.
2018-03-23 15:59:30 -07:00
Megan Marsh 7253d6547b minor LXD documentation tweaks 2018-03-23 15:46:39 -07:00
Matthew Hooker dee5bd3b2e
freebsd > 9 required note. 2018-03-23 14:54:54 -07:00
Matthew Hooker 2d4c1acc67
set environment when we deploy website 2018-03-23 10:21:24 -07:00
Matthew Hooker 0ccb811f76
Merge pull request #5996 from hashicorp/je.segment
Switch web analytics to segment
2018-03-23 10:08:16 -07:00
Megan Marsh 072cd6b745
Merge pull request #5998 from hashicorp/do_5895
allow users of AWS to use the dynamically-generated admin password wh…
2018-03-22 16:01:22 -07:00
Megan Marsh 95aa7e67bd
Merge pull request #5893 from neumayer/privateip
Allow using private ip addresses for oracle oci builder
2018-03-22 09:42:19 -07:00
Matthew Hooker 91864b842f
remove skip_metadata_api_check from docs 2018-03-21 22:03:21 -07:00
Matthew Hooker dc41b086fe
Document missing aws config params. 2018-03-21 22:00:39 -07:00
Yang Youseok 1f4212efa7 builder/openstack: Add instance_name config to OpenStack builder
RFC952 restricts hostname not to use underline(_) and period(.), so
private cloud with legacy DNS system does not allow just to use
image_name for name of server.

Add instance_name config option for servers which packer creates to
make instance_name configurable. If instance_name is not specified,
by default it works like the past using image_name for instance_name.
2018-03-22 11:20:14 +09:00
Matthew Hooker ac96e26c90
Merge pull request #6023 from ruzickap/feature/improve_documentation
Adding details to PACKER_BUILD_NAME to have it clear in the documentation how the variable is created
2018-03-21 15:57:47 -07:00
Stefan Henseler 7184e411e5 Adds documentation for hyperv-iso disk block size feature 2018-03-21 22:59:04 +01:00
Petr Ruzicka 7112212b2f Adding details to PACKER_BUILD_NAME to have it clear in the documentation how the variable is created 2018-03-21 07:58:53 +01:00
stack72 c877312a4d builder/triton: Add support to Skip TLS Verification of Triton URL
In order to allow Packer to connect to Private Triton installations
we now expose `insecure_skip_tls_verify` which, if set to true, will
allow the user to make requests to Triton installations that use a
certificate not signed by a trusted root CA
2018-03-20 22:10:12 +02:00
Matthew Hooker 29399282ef
Merge pull request #6018 from skierkowski/master
Update the deprecation date
2018-03-19 10:46:26 -07:00
Megan Marsh f3dc7546d4 even clearer example in winrmpassword docs 2018-03-16 14:28:20 -07:00
Megan Marsh de7d1430bd update powershell docs to include reference to the new winrmpassword template variable 2018-03-16 14:25:09 -07:00
Maciej Skierkowski 1ddbc4996e remove hard date 2018-03-15 17:26:08 -07:00
Matthew Hooker b16f2ec64b
builder/amazon: Use sdk default cred providers
I think we were overcomplicating things. The SDK provides the correct
credential chain by default, so let's use that. This patch does a quick
check for static credentials and uses those if found, then defaults to
the default credential provider chain.

This patch also removes the metadata timeout argument. Current versions
of the SDK have short timeouts by default, so I don't believe this is
needed.
2018-03-15 16:49:47 -07:00
Maciej Skierkowski 05c1938d92 update deprcation date 2018-03-15 15:09:48 -07:00
Jeff Escalante 2f420c38b2 add optinmonster script, fix makefile, remove es6 2018-03-15 13:05:42 -04:00
Jeff Escalante b0937ff94d switch analytics from ga to segment 2018-03-14 15:09:42 -04:00
Matthew Hooker d2f9fd1afc
Merge pull request #6014 from hashicorp/do_6011
add note that packer doesn't support windows containers
2018-03-14 10:31:37 -07:00
Megan Marsh 414dd80e61
Merge pull request #6013 from jsoref/spelling
Spelling
2018-03-14 09:50:27 -07:00
Megan Marsh b32a8cab4b add note that packer doesn't support windows containers 2018-03-14 09:05:52 -07:00
Josh Soref aa52f68fda spelling: variable 2018-03-14 03:28:07 +00:00
Josh Soref ecc3d12340 spelling: validate 2018-03-14 03:28:29 +00:00
Josh Soref bf3bf79b81 spelling: timeoutms 2018-03-14 03:25:12 +00:00
Josh Soref 50f097b03d spelling: repeatedly 2018-03-14 02:19:20 +00:00
Josh Soref 91ecc80ede spelling: privileges 2018-03-14 02:14:59 +00:00
Josh Soref 8e36178e5b spelling: preemptible 2018-03-14 02:14:31 +00:00
Megan Marsh e2f55a50b5
Merge pull request #5702 from brokenbot/salt-masterless-windows
Windows Support for salt-masterless provisioner #5432
2018-03-13 14:26:40 -07:00
Megan Marsh aeb25d2c61
Merge pull request #5991 from evandbrown/google-disable-default-service-account
builder/googlecompute: Optionally disable service account
2018-03-13 13:39:08 -07:00
Matthew Hooker dfa0b0cdb1
update middleman 0.3.32 2018-03-13 10:42:08 -07:00
Matthew Hooker e31ffab30c
update middleman 0.3.30 2018-03-13 10:25:47 -07:00
Andre Pearce f5156a7efb
Nest the additional field of `ami_root_device` 2018-03-13 20:11:52 +11:00
Josh Soref 35353faa62 spelling: omitted 2018-03-13 08:17:22 +00:00
Josh Soref 5c0d0322f0 spelling: manifest 2018-03-13 08:09:00 +00:00
Josh Soref 074b04522f spelling: initializing 2018-03-13 08:04:26 +00:00
Josh Soref e4c56e3cbd spelling: delimiters 2018-03-13 07:35:45 +00:00
Josh Soref dfcd5742cc spelling: defined 2018-03-13 07:35:31 +00:00
Josh Soref 0cff0f2f84 spelling: default 2018-03-13 07:35:21 +00:00
Josh Soref c38cdd0439 spelling: administrator 2018-03-13 07:06:52 +00:00
Christopher Boumenot 2a21032964 azure: randomize NIC and Public IP names 2018-03-11 20:47:45 -07:00
Matthew Hooker 8c408df53d
add note about keymap bug in qemu 2.11.
See #5769
2018-03-09 15:33:40 -08:00
Megan Marsh b1eaaed6fb
Merge pull request #5970 from boumenot/pr-azure-plan-info
azure: support for marketplace plan information
2018-03-09 15:21:03 -08:00
Christopher Boumenot 1ef491d4c8 incorporate reviewer feedback 2018-03-08 22:43:26 -08:00
Rickard von Essen 7dfa827a4c
builder/docker: Small doc update
- Correcting docs about communicator for Docker
- Clarifying that the docker builder will not work with remote hosts.
2018-03-08 13:56:34 +01:00
Evan Brown 4a2c124ea2 builder/googlecompute: Optionally disable service account
The ability to use a service account other than the default was
introduced in #5928. This change adds to that by introducing the
'disable_default_service_account' config option. If true - and
'service_account_email' is not set - Packer will create a GCE VM
with no service account.
2018-03-07 20:53:26 -08:00
SwampDragons 76e8d6e50b
Merge pull request #5980 from grahamhayes/add-lxc-vagrant-post
Add LXC to vagrant post-processor
2018-03-07 09:58:49 -08:00
Graham Hayes 91d60d6b81
Add LXC to vagrant post-processor 2018-03-07 15:17:52 +00:00
SwampDragons 9eeb1c3932
Merge pull request #5982 from hashicorp/je.fixes
Small website updates
2018-03-06 16:12:40 -08:00
Jeff Escalante 5132b684b2 update dependencies + middleman-hashicorp 2018-03-06 19:06:05 -05:00
Jeff Escalante edd9df14ed prepend 'Packer' with 'HashiCorp' on first instance 2018-03-06 19:05:39 -05:00
SwampDragons 97060d100c
Merge pull request #5928 from kri5/service_account_gce
Builder GoogleCompute: Allows to specify GCE service account build VM
2018-03-06 13:41:33 -08:00
Ali Rizvi-Santiago df6cdcc7f7 Disable the usage of the XHCI bus for USB on the vmware-iso builder.
Some platforms with incomplete XHCI implementations (i.e. FreeBSD)
will poll the bus despite there being no usb devices available.
This disables XHCI by default and documents how to enable it using
the vmx_data option.

This closes issue #5961.
2018-03-05 20:58:43 -06:00
Christopher Boumenot d2e593de37 azure: support for marketplace plan information 2018-03-05 09:05:21 -08:00
Christopher Boumenot 043a57be21
Merge pull request #5944 from jmajoor/azure-data-disk
Add support for optionally building Azure VMs with additional disks.
2018-03-03 00:02:48 -08:00
jmajoor 863f4ec1da Add additional documentation for the additional disks configuration 2018-02-26 17:41:28 -08:00
Matthew Hooker ace5fb7622
Merge pull request #5938 from dittos/patch-1
Fix docs on Alicloud builder
2018-02-26 10:46:50 -08:00
Taeho Kim dfc75acb63
Sort options alphabetically 2018-02-24 12:29:50 +09:00
jmajoor efcdbfeab9 Add support for optionally building Azure VMs with additional disks. 2018-02-23 15:34:13 -08:00
Matthew Hooker 487b1d7167
somehow fix gemfile.lock 2018-02-23 12:13:47 -08:00
Matthew Hooker 3d5592d040
prepare for Packer 1.2.1 2018-02-23 11:31:07 -08:00
Taeho Kim d90b67ba23
Fix docs on Alicloud builder
- Fix the link to instance types page.
- Disk configurations should go into `image_disk_mappings` array.
- If `io_optimized` is not set, it's always `false`. (NOT inferred by instance type)
2018-02-23 11:51:43 +09:00
SwampDragons 9e8e376d6c
Merge pull request #5932 from hashicorp/add_configurable_snapshot_timeout
add configurable snapshot timeout to oracle-classic builder
2018-02-22 14:27:20 -08:00
Megan Marsh 597ddc2192 add configurable snapshot timeout to oracle-classic builder 2018-02-22 14:01:53 -08:00
Christophe Courtaut bda07497e9 website/docs: Adds documentation for GCE builder service account email new field 2018-02-22 18:46:13 +01:00
SwampDragons cfede07228
Merge pull request #5929 from hashicorp/oracle_classic_winrm
Oracle classic winrm
2018-02-21 13:31:40 -08:00
Megan Marsh df45e0916d Add the winRM communicator to Oracle Classic builder.
update oracle classic docs with a minimal working windows example
2018-02-21 13:21:54 -08:00
Antony Jones c973dd91c5
Fix formatting issues 2018-02-19 13:07:03 +00:00
SwampDragons 1cca06e5bf
Merge branch 'master' into website-docs-windows-restart 2018-02-15 14:33:49 -08:00
Megan Marsh d07a2dda7d fix grammar in docs 2018-02-15 14:28:22 -08:00
SwampDragons 23567aad6f
Merge pull request #5197 from BWITS/feature/policy_for_spot_instance
Add policies to use spot instance to create the AMI
2018-02-15 14:27:04 -08:00
Matthew Hooker d3848903e0
Clarify behavior or launch_block_device_mappings.
cf
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html
2018-02-14 19:08:50 -08:00
Megan Marsh 3e3c16d627 update docs 2018-02-13 16:48:39 -08:00
Robert Neumayer 0534e3420c Update docs 2018-02-13 14:41:51 +01:00
유성덕 20b93e753d Fix `naver` of build docs to `NAVER Cloud` 2018-02-13 21:52:23 +09:00
Matthew Hooker 2747562708
remove ssh_private_ip from docs 2018-02-11 13:57:25 -08:00