Commit graph

2134 commits

Author SHA1 Message Date
Edouard Bonlieu
4b1f96b527
Merge pull request #6439 from jbonachera/scaleway-config-bootscript
scaleway: add 'bootscript' configuration parameter
2018-07-04 10:10:19 +02:00
Adam Robinson
0c6e6ba637 Update Ansible provisioner docs for WinRM 2018-07-03 11:12:12 -04:00
Sean Malloy
d8b229b59a Add feature to googlecompute-import post-processor to delete GCS files
New skip_clean config option added to control deleting import tar
files from GCS bucket. Defaults to false meaning by default delete
import tar files from the GCS bucket.
2018-07-02 21:44:30 -05:00
M. Marsh
8658eaf1ac
Merge pull request #6424 from DanHam/fix-esxi-export-hang
Prevent hang on export when using VMware ISO builder on remote ESXi host
2018-07-02 16:42:08 -07:00
Christopher Boumenot
bf1b4b21a3
Merge pull request #6277 from dtzar/patch-1
Only show Windows Sysprep code with validation
2018-07-02 16:15:21 -07:00
DanHam
71f6494569
Docs: Try and clarify export and export related opts only work with ESXi 2018-07-02 18:13:19 +01:00
DanHam
66f9b64ff1
Docs: Users must set remote_password when exporting the VM with ovftool 2018-07-02 18:13:19 +01:00
M. Marsh
406f4eeb93
Merge pull request #6394 from conradjones/master
Add support to vmware-vmx for linked clones
2018-07-02 09:50:24 -07:00
Robert Neumayer
22e5523faa Allow instance metadata to be specified in config 2018-07-02 10:48:08 +02:00
Thor K. Høgås
b1639a782b
Highlight which user Ansible provisioner uses
SSIA.
2018-07-02 10:17:24 +02:00
Julien BONACHERA
3ea887a9a7
scaleway: mention new 'bootscript' parameter in documentation 2018-06-29 22:02:00 +02:00
Sean Malloy
3622a669dc Add new post processor googlecompute-import 2018-06-26 21:39:55 -05:00
Megan Marsh
b2e456c340 docs needed clarifying on what Packer would do.
Document this feature in ebs-volume.
2018-06-26 13:39:07 -07:00
M. Marsh
0cb998682b
Merge pull request #6413 from thefotios-enigma/patch-2
Update list of required IAM permissions
2018-06-25 13:27:44 -07:00
Nicolae Vlădescu
b45d8c49c5
Fix typo 2018-06-23 16:45:15 +03:00
Fotios Lindiakos
896ceee902
Update list of required IAM permissions
The `ec2:DescribeSpotPriceHistory` is required when the `spot_price` parameter is set to `auto`.
2018-06-22 18:55:50 -04:00
Conrad Jones
d05a601d00 Add support to vmware-vmx builder for linked clones. 2018-06-17 01:38:42 +01:00
M. Marsh
32fd89a4a2
Merge pull request #6377 from EximChua/patch-1
Update info on format of the credentials file
2018-06-15 11:30:13 -07:00
M. Marsh
9605302446
Merge pull request #6383 from egazrigh/patch-1
Update example for -var-file
2018-06-15 11:13:30 -07:00
DanHam
644f509f1d
Hyper-V VMCX: Minor word changes and fixes 2018-06-14 18:41:29 +01:00
DanHam
866ee26771
Hyper-V VMCX: Fix missing option - skip_export. Sort options alphabetically. 2018-06-14 18:34:37 +01:00
DanHam
9f528d6eb7
Hyper-V VMCX: Fix long lines 2018-06-14 18:34:37 +01:00
DanHam
647aef9855
Hyper-V ISO: Sort options alphabetically. Minor word changes and fixes 2018-06-14 18:34:38 +01:00
DanHam
83a8537db5
Hyper-V ISO: Fix long lines 2018-06-14 16:52:08 +01:00
egazrigh
6068320752
Update example for -var-file
On Windows version v1.2.4, cannot use -var-file= syntax
invalid value "" for flag -var-file: open : The system cannot find the file specified.
Have to use -var-file .\file syntax
2018-06-13 15:52:50 +02:00
EximChua
286a5aa8c7
Update info on format of the credentials file
Update info on format of the credentials file.
2018-06-13 15:34:06 +08:00
Megan Marsh
6226992757 fix file provisioner docs 2018-06-12 16:16:39 -07:00
M. Marsh
9d97365522
Merge pull request #6364 from hashicorp/do_6354
we should only have an installation guide in one place, to keep it up…
2018-06-11 12:04:15 -07:00
M. Marsh
5d35c71358
Merge pull request #6362 from rickard-von-essen/os-token
openstack: Add support for token authorization and cloud.yaml
2018-06-08 16:26:34 -07:00
Megan Marsh
6b1187666c we should only have an installation guide in one place, to keep it up-to-date more easily. 2018-06-08 14:28:09 -07:00
Matthew Hooker
3bdf1f1849 openstack: Add support for token authorization and cloud.yaml
via config options `cloud` and `token` and environment variables
OS_CLOUD and OS_TOKEN.
2018-06-08 21:38:26 +02:00
Rickard von Essen
57b8d58d7e Doc fixes 2018-06-08 21:21:26 +02:00
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
Ladar Levison
8fee49ab9f Added a 'split' function to parse template variables. 2018-06-08 00:41:57 -05: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
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
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
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
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
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
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
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
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
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
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
Anthony Dong
5b7e058d0a Add documentation for template variables available for tagging 2018-04-02 19:32:14 +02: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
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
7253d6547b minor LXD documentation tweaks 2018-03-23 15:46:39 -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
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