Commit Graph

2214 Commits

Author SHA1 Message Date
Adrien Delorme 8560fe89e5 Azure Docs: enhanced the copy pasta power
* so that it's easier to just copy & paste commands to get going
2018-08-23 13:08:41 +02:00
Rickard von Essen 70cfafb75c
Merge pull request #6490 from tcarrio/most-recent-image-openstack
OpenStack source image search filter
2018-08-23 12:41:06 +02:00
Megan Marsh bb319fb1e8
Merge pull request #6607 from hashicorp/gcp_min_cpu_platform
GCP: min cpu platform
2018-08-22 12:58:34 -07:00
Megan Marsh 918db58604 added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used 2018-08-22 11:37:56 -07:00
Rickard von Essen 057a635cab
Merge pull request #6532 from sermilrod/Allowing-fixed-port-in-forwarding-rules
Cloudstack builder: adding public_ssh_port flag to use a fixed port in the forwarding rules
2018-08-22 14:27:38 +02:00
Sergio Millan Rodriguez befdb59da6 renaming public_ssh_port to public_port 2018-08-22 10:17:46 +01:00
tcarrio 3eb4151599 Fixed wildcard usage in docs 2018-08-21 17:36:30 -04:00
Megan Marsh 1a04b2a31a update docs to include section on sensitive-variables array 2018-08-21 10:40:33 -07:00
Adrien Delorme d8b537e258 website doc for min_cpu_platform 2018-08-21 10:35:33 +02:00
Tom Carrio c5fe1e9e34 Updated to @rickard-von-essen's code review suggestions, including:
- filter build and error checking in Prepare stage (multiErr created in the original function will be returned to Prepare and appended, so all errors show).
- source_image overrides source_image_filter.
- Doc edit
2018-08-19 18:47:07 -04:00
Tom Carrio db3d2682b5 Updated allowed filters to tags, visibility, owner, and name. Test cases updated and passed 2018-08-19 18:45:22 -04:00
Tom Carrio de9999ecb9 Updated tag to slice, docs, comments, only active images, source_image_name supercedes filter name 2018-08-19 18:45:22 -04:00
tcarrio 6dc71590eb Updated OpenStack Builder docs and tests 2018-08-19 18:45:22 -04:00
Rickard von Essen d4c34159f4
Merge pull request #6373 from ozerovandrei/openstack-neutron-floatingips
OpenStack builder: floating IP refactoring
2018-08-17 15:38:33 +02:00
Adrien Delorme 3ea8f9f50d
Small updates on the googlecompute website docs 2018-08-17 12:41:37 +02:00
Andrei Ozerov 6bf442f039 OpenStack builder: fix floating IP docs
Update website documentation about "floating_ip_network" parameter.
Add new inline comment about alghoritm that is used for checking
floatingIP-related configuration parameters.
2018-08-17 07:55:31 +03:00
Marcel Prince 2cde0d6132 Add env template function to doc 2018-08-16 14:23:29 -07:00
Andrei Ozerov 29c20eae78 Docs: update OpenStack floating IPs notes
Introduce the new "floating_ip_network" parameter and add deprecation
warning for the "floating_ip_pool" parameter.
2018-08-16 22:18:48 +03:00
Andrei Ozerov 357ff19c52 OpenStack docs: add blockstorage volumes info
Add notes, available parameters and basic example of how to use
OpenStack Block Storage volume as a root volume of an instance.
2018-08-16 12:40:11 +02:00
Megan Marsh 3362897c44
Merge pull request #6585 from hashicorp/do_6584
fix security hole with ami filter
2018-08-15 10:26:40 -07:00
Rickard von Essen 25452945d7
Merge pull request #6546 from mzupan/do-add-tags
Add tags to DigitalOcean Droplets
2018-08-15 15:52:32 +02:00
Rickard von Essen 9e9f0d2ab9
Merge pull request #6570 from cb-oath/openstack-builder-ports
add support for ports to the OpenStack builder
2018-08-15 13:35:48 +02:00
Megan Marsh d57b599f3c update docs 2018-08-14 12:33:09 -07:00
Christopher Boumenot 39fc8593de
Merge pull request #6576 from double16/vagrant-azure
Add to vagrant post-processor support for Azure
2018-08-09 12:36:22 -07:00
Patrick Double 2868971a9b Fixes per code review 2018-08-09 07:14:14 -05:00
Patrick Double d796edc783 Add to vagrant post-processor support for Azure 2018-08-08 10:04:28 -05:00
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
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
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
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
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
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
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
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