Commit Graph

2707 Commits

Author SHA1 Message Date
chbell43 5f9d4b729f add support for ports to the OpenStack builder
For networks that have multiple subnets, we may want to target a single
subnet.  OpenStack doesn't let you target a single subnet in a network
and so you need to make a port.
2018-08-03 20:46:36 +00:00
Matthew Hooker ddf23a2c46
Complete Atlas deprecation.
Removes the push command and the Atlas post-processor.  Please see our
guide on building immutable infrastructure with Packer on CI/CD for
ideas on implementing these features yourself.
https://www.packer.io/guides/packer-on-cicd/
2018-08-02 20:23:28 -07:00
Nye Liu 80bd3b99d0 Fix typo, cosmetic whitespace 2018-08-02 20:05:42 +00:00
Nye Liu 8458b60b24
Document the `config` option to the lxd builder. 2018-08-02 12:29:17 -07:00
Megan Marsh 7cbaac4acd
Merge pull request #6554 from adarobin/googlecompute_update_docs
Update googlecompute docs on images from scratch
2018-08-02 11:15:33 -07:00
Christopher Boumenot 650a0f3c27
Merge pull request #6558 from boumenot/pr-Azure-clean_image_name
azure: implement clean_image_name
2018-08-02 09:28:34 -07:00
Christopher Boumenot a3e6153068 azure: implement clean_image_name 2018-08-01 10:54:45 -07:00
Megan Marsh 43a410b161
Merge pull request #6553 from lmayorga1980/master
#6297 add a documentation note for windows 2016 images
2018-08-01 10:15:50 -07:00
lmayorga 9ff41d4051 update note restriction for amazon windows 2016 amis only 2018-08-01 08:45:38 -04:00
Adam Robinson e74706c761 update googlecompute docs on images from scratch 2018-07-31 16:08:07 -04:00
lmayorga 5fff424ad5 #6297 add a documentation note for windows 2016 images 2018-07-31 15:09:41 -04:00
Matthew Hooker 38280ca90a
fix markdown formatting 2018-07-30 16:28:35 -07:00
Mike Zupan 9247a3c564 adding in th docs 2018-07-30 11:27:57 -06:00
Sergio Millan Rodriguez d90dfc096a adding public_ssh_port flag to use a fixed port in the forwarding rules 2018-07-24 18:39:02 +01:00
Megan Marsh 07b6bc0c4f
Merge pull request #6504 from sharmaansh/6309-amazon-chroot-create-volume-tags
amazon-chroot: Add tags on CreateVolume
2018-07-23 14:58:17 -07:00
Megan Marsh d2823622e5
Merge pull request #6249 from iammattcoleman/add-use_backing_file
qemu builder: add the 'use_backing_file' setting for QCOW2 images
2018-07-23 13:40:04 -07:00
Megan Marsh 66c45273fb
Merge pull request #6494 from double16/vagrant-docker
Vagrant post-processor for using a Docker image
2018-07-23 12:18:52 -07:00
Anshul Sharma 431cbb2ad5
Added Docs 2018-07-20 09:04:49 +03:00
Patrick Double ce08eb8b7c Cleanup docs 2018-07-19 20:41:26 -05:00
DanHam 1a7804221e
Minor fixes, changes and improvements to Hyper-V VMCX docs 2018-07-20 02:12:48 +01:00
DanHam da21c25791
Convert incorrect 'vmxc' -> 'vmcx' in codebase, docs and template opts
grep -rli --exclude-dir={vendor,bin\*,\*vmware\*,\*pkg\*} vmxc . | \
xargs sed -i 's/\(vm\)\(x\)\(c\)/\1\3\2/ig'
2018-07-20 02:12:47 +01:00
DanHam 29503e453e
Update Hyper-V docs with new export behaviour 2018-07-20 02:12:46 +01:00
DanHam e42e03ef2e
Update VMCX doc: Include `temp_path`; ISO & VMCX docs: Better explain opts 2018-07-20 02:12:46 +01:00
DanHam bd5692451b
Remove deprecated `vhd_temp_path` option from documentation 2018-07-20 02:12:44 +01:00
Megan Marsh a5a6b1ab58
Merge pull request #6501 from Wenzel/expose_ansible_packer_http_addr
Expose ansible packer_http_addr extra var
2018-07-18 17:18:46 -07:00
Megan Marsh 9c2f44be83
Merge pull request #6503 from Wenzel/expose_packer_http_addr_shell_local
Expose PACKER_HTTP_ADDR environment variable for shell-local
2018-07-18 17:02:34 -07:00
Andrew Pryde 67f039509a
Merge pull request #6498 from neumayer/ocimetadata
Allow instance metadata to be specified in config
2018-07-18 18:27:27 +01:00
Megan Marsh fe15bc53a8
Merge pull request #6450 from shadycuz/ansible_winrm
Feature: Add randomly generated win_rm password to the ansible provisioner
2018-07-18 09:49:48 -07:00
Megan Marsh e8a7d948db update docs 2018-07-18 09:42:15 -07:00
Patrick Double c7fef8d22a Update vagrant post-process docs 2018-07-17 15:10:53 -05:00
Mathieu Tarral 430d9389be website: add documentation for packer_http_addr extra variable 2018-07-17 19:58:08 +03:00
Megan Marsh a658b4a94b
Merge pull request #6502 from neumayer/fixtypo
Fix typo in oci documentation
2018-07-17 09:37:30 -07:00
Mathieu Tarral 221761d97a shell-local: add docs for PACKER_HTTP_ADDR env var 2018-07-17 18:50:40 +03:00
Robert Neumayer 990d139d45 Fix typo in oci documentation 2018-07-17 17:46:23 +02:00
xxx 7630268e1d Incorporate review comments 2018-07-17 17:41:19 +02:00
Patrick Double a301145ae1 Allow docker build as input to vagrant, docs 2018-07-17 09:41:18 -05:00
Sean Malloy cf04fd55ea Add missing link to googlecompute-import post-processor docs 2018-07-16 20:40:19 -05:00
Levi Blaney f5e17d1cad
changed wording from builder to provisoner 2018-07-16 19:13:05 -04:00
Levi Blaney a5493e4906
added the builders that set_winrm_passwd works with 2018-07-16 17:26:38 -04:00
Megan Marsh 456a42c341 cut v.1.2.5 2018-07-16 13:03:09 -07:00
James Nugent 9fffe4056e
Merge pull request #5452 from smaato/tag-spot-requests
Enable tagging of spot requests
2018-07-16 13:00:07 -05:00
Sander van Harmelen 451cbd8aa9
Merge pull request #6487 from sermilrod/Honour-cloudstack-projectid
Honour cloudstack projectid
2018-07-16 13:53:06 +02:00
Sergio Millan Rodriguez 742bcf5afb added documentation for prevent_firewall_changes flag 2018-07-16 13:31:29 +02:00
Levi 17074cda2c added set_winrm_passwd usage instructions 2018-07-14 15:09:48 -04:00
Mark Meyer 2fec76ea87 Check if spot price is empty, when spot_tags is set 2018-07-13 22:42:42 +02:00
Megan Marsh a149dcb029
Merge pull request #6486 from adarobin/esxi_6.5+_documentation
Update documentation for building on ESXi 6.5 and 6.7
2018-07-13 09:51:12 -07:00
Adam Robinson 2496e09d75 Document vnc_disable_password=true requirement for ESXi 6.5+ 2018-07-13 09:26:02 -04:00
Adam Robinson da277a440c fix reversed logic in disable_vnc documentation 2018-07-13 09:13:58 -04:00
Megan Marsh 14166fdd99 update amazon import docs to include the env vars for setting aws waiter delays and timeouts 2018-07-11 10:36:21 -07:00
Matthew Hooker 501762eef6
Fix markdown link 2018-07-11 09:30:02 -07:00
Darwin 3f1cfed3c5
Add "Undo-WinRMConfig" open source project link
Implemented as a powershell script which can be called from github or locally.  Also provided as a chocolatey package on chocolatey.org
2018-07-11 07:22:27 -04:00
M. Marsh a231f630aa
Merge pull request #6454 from adarobin/ansible-winrm-documentation
Update Ansible provisioner docs for WinRM
2018-07-10 15:21:32 -07:00
Adam Robinson 37cb3ec055 clarify ansible connection plugin creation and link to working examples 2018-07-10 17:15:22 -04:00
M. Marsh 78e0fb3254
Merge pull request #6451 from KohlsTechnology/googlecompute-import-cleanup
Add feature to googlecompute-import post-processor to delete GCS files
2018-07-10 13:03:39 -07:00
Megan Marsh 883c74f21c remove reference to Atlas from getting started guide, as it's near the end of its deprecation cycle. 2018-07-09 15:20:49 -07:00
M. Marsh d655676194
Merge pull request #6462 from jlmoody/master
Update build-image.html.md
2018-07-09 11:44:31 -07:00
M. Marsh c97c422b87
Merge pull request #6463 from DanHam/vmx-linked-clone-doc
VMX builder: Extend doc for new linked clones capability
2018-07-09 11:17:34 -07:00
Gergely Szabo b2098ce9d5 Missing comma in the qemu builder example 2018-07-09 13:46:15 +02:00
Gergely Szabo 3d1bb332e1 Shutdown_command for qemu improved. 2018-07-09 13:42:54 +02:00
Gergely Szabo 4562083883 Fixing shutdown_command doc for qemu builder 2018-07-09 13:32:08 +02:00
Mark Meyer bcaa5e49f1 Document the `spot_tags` parameter 2018-07-07 09:48:50 +02:00
DanHam 2ee7aea076
VMX builder: Extend doc for new linked clones capability 2018-07-06 22:26:35 +01:00
Jason Moody 5f750bfc34
Update build-image.html.md
Small grammar update in "A Windows Example" section of build-image.html.md.
2018-07-05 17:46:06 -05:00
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
Alexander Georgievskiy ec8747a042 They finally added https on download.virtualbox.org
Because downloading SHA256SUMS via http is a fun joke
2018-06-22 00:45:20 +03: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
DanHam 5153b22b7e
Fix typo in command: enc -> env 2018-06-12 13:31:29 +01: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
Rickard von Essen f9b26a2666
Updated installation docs to not require GOPATH env var 2018-06-09 08:59:00 +02: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 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