Commit Graph

2608 Commits

Author SHA1 Message Date
M. Marsh 1809975644
Merge pull request #6356 from stack72/fix-aws-iam-profile
docs/aws: Update documentation for AWS Spot Instances
2018-06-08 10:41:51 -07:00
M. Marsh 10549d34b6
Merge pull request #6322 from sieben/remove_vc
Remove the VC product line
2018-06-08 09:55:24 -07:00
stack72 1bc471073f
docs/aws: Update documentation for AWS Spot Instances
The docs didn't specify that `ec2:DescribeSpotInstanceRequests` was
required. This causes an error as follows:

```
Error waiting for spot request (sir-yg6866gj) to become ready:
UnauthorizedOperation: You are not authorized to perform this operation.
```

This is because the permission to describe instance state is not available
2018-06-08 03:04:22 +03:00
M. Marsh 5bddf6a267
Merge pull request #5086 from localghost/ansible_local_playbook_files
Add playbook_files to execute multiple ansible playbooks with ansible-local.
2018-06-07 16:26:05 -07:00
M. Marsh 0f8f9f10b3
Merge pull request #6307 from hashicorp/qemu-templates
add qemu templates
2018-06-07 11:05:24 -07:00
M. Marsh 62bed38c11
Merge pull request #6336 from PascalBourdier/master
install doc : avoid name conflict
2018-06-07 10:55:52 -07:00
Robert Neumayer 852973a001 Update puppet provisioner docs
* replace options with extra_arguments so the example works
2018-06-05 18:38:51 +02:00
PascalB b7b25ec7b2
avoid name conflict
On CentOS /usr/sbin/packer (from cracklib-dicts RPM) is already present and is required by systemd.
This is a symlink to cracklib-packer.

To avoid trouble, two solutions are available :
- put packer in /usr/local/bin
- remove /usr/sbin in the PATH
2018-06-04 10:04:55 +02:00
Rickard von Essen c0ae1b7790
digitalocean: artifact should include build region and fixed docs
- Add the build region to the list of regions for the artefact
- Corrected docs: `snapshot_name` doesn't have to be unique.
- Updated example to use Ubuntu 16.04
2018-06-03 16:37:38 +02:00
M. Marsh fb59157da5
Merge pull request #6321 from jqueuniet/patch-1
Clarify scaleway token definitions in doc
2018-05-29 15:24:53 -07:00
Megan Marsh e3b615e2ad update version in website and version.go 2018-05-29 12:20:22 -07:00
M. Marsh a012f70e71
Merge pull request #6251 from hashicorp/do_winrm_shell_local
access automatically generated winrm password from shell-local
2018-05-29 12:09:40 -07:00
Rémy Léone dba9f1b015 Remove the VC product line 2018-05-28 16:19:51 +02:00
Johann Queuniet 67185f61a5
Clarify scaleway token definitions in doc
Clarify the definition of both tokens, the previous one was a bit confusing and not consistent with Terraform where "organization" designates the access key instead of the authentication tokens.
2018-05-28 15:21:02 +02:00
localghost e1a1bb522d Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update 2018-05-26 22:00:50 +02:00
Matthew Hooker 4dc074e786
add qemu templates 2018-05-24 16:26:00 -07:00
James Nugent b97475b647
Merge pull request #6265 from DanHam/enable-t2-unlimited
Add support for T2 Unlimited for Amazon builders
2018-05-25 00:26:17 +04:00
M. Marsh bba8158d67
Merge pull request #6299 from hashicorp/fix6247
add note about key interval to virtualbox docs
2018-05-24 09:41:20 -07:00
Megan Marsh 846f94c964 implement template variable for accessing WinRM password in either environemnt variables or directly in execute_command or inline commands. 2018-05-23 16:00:43 -07:00
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
Deduplicate the code for the shell-local post-processor and shell-local provisioner
2018-05-23 15:54:27 -07:00
Matthew Hooker 0a8f7f28a0
add note about key interval to virtualbox docs 2018-05-23 15:24:18 -07:00
Megan Marsh 974e464f35 fix docs becuase we dont need to actually set the mount path 2018-05-23 13:34:56 -07:00
Megan Marsh b5095539a7 add docs 2018-05-23 09:58:15 -07:00
Paul Meyer 3dd6bf5781
Merge pull request #6285 from harijayms/devicelogin
Devicelogin Support for Windows and not requiring object ID
2018-05-22 11:26:47 -07:00
M. Marsh a8b6a04dda
Merge pull request #6194 from hashicorp/fix_6176
allow user to mount entire block device in chroot builder
2018-05-21 15:28:18 -07:00
Megan Marsh 969201a2d4 handle minor shell-local PR suggestions and corrections 2018-05-21 14:56:44 -07:00
Hariharan Jayaraman 8a3e599cad Added text to point out two device auth 2018-05-21 11:05:59 -07:00
Hariharan Jayaraman a54fcc9efe missed doc fixes to remove referece for object_id, note keeping the command for now for how to get object ID for older releases 2018-05-19 13:16:57 -07:00
M. Marsh edb5c1f50d
Merge pull request #6243 from camjjack/hyper-v-gui
Using vmconnect to display gui for hyper-v
2018-05-18 11:24:24 -07:00
Hariharan Jayaraman 1f46271a6b Ensuring device login works for Windows build 2018-05-18 00:32:01 -07:00
Christopher Boumenot a5530d4546
Merge pull request #6269 from harijayms/asyncrgdelete
Async delete Resource Group
2018-05-16 15:13:09 -07:00
localghost c33ca8ce64 Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update 2018-05-16 22:14:12 +02:00
localghost 11f2b1ec24 Merge remote-tracking branch 'origin/master' into ansible_local_playbook_files_update 2018-05-16 21:54:39 +02:00
David Tesar f81492ef9d
Add back last step comment 2018-05-16 15:35:14 -04:00
David Tesar f793d219b2
Only show Windows Sysprep code with validation
The first example completes successfully, but will not let you know that the image is not actually able to be deployed to a VM.
2018-05-16 15:29:54 -04:00
Matt Coleman 3192f5e0da qemu builder: add the 'use_backing_file' setting for QCOW2 images 2018-05-16 10:22:50 -04:00
Hariharan Jayaraman 784c7973c2 minor updates to docs 2018-05-15 11:45:24 -07:00
Hariharan Jayaraman e1b18d594a Updates based on PR feedback 2018-05-15 11:41:26 -07:00
DanHam a9aa9908cd
Document use of T2 Unlimited for enabled Amazon builders 2018-05-15 12:25:06 +01:00
Jamie Lennox 436065c02b [Azure] Don't mention capture_container_name in required
capture_container_name is only a required variable if you are outputting
to VHD format. It is mentioned below as required when building a VHD so
having it here as well is confusing.
2018-05-15 18:35:14 +10:00
Hariharan Jayaraman c8c9bbb22a Async delete Resource Group 2018-05-14 20:06:23 -07:00
Unknown fc734b6bd9 Using vmconnect to display gui for hyper-v
vmconnect.exe comes as part of Hyper-V and is the tool used by Hyper-V Manager to connect with a virtual machine. This commits sets behaviour the same as virtualbox and vmware to display the virtual machine connection unless headless is set in the template.
2018-05-14 20:52:10 +10:00
M. Marsh 5871b8242b
Merge pull request #6101 from adarobin/azurecompatible
Add use_fixed_vhd_format Hyper-V ISO option
2018-05-10 17:02:44 -07:00
Megan Marsh 0f985d5e25 remove kms_key_id from ami_block_device_mappings and from launch_block_device_mappings 2018-05-10 14:56:09 -07:00
Stefan Henseler 6f00596053 Adds config option to specify hyper-v secure boot template 2018-05-10 19:00:35 +02:00
M. Marsh 3944088d7b
Merge pull request #6258 from hashicorp/do_6257
add documentation to ansible provisioner warning against running Pack…
2018-05-09 14:02:53 -07:00
Jeff Kohrman 2cf0533221
Add link to privacy policy in website footer
Added link to updated privacy policy in footer of `layout.erb` for the OSS website.
2018-05-09 12:15:11 -06:00
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