Commit Graph

2214 Commits

Author SHA1 Message Date
Graham Hayes 91d60d6b81
Add LXC to vagrant post-processor 2018-03-07 15:17:52 +00: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
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
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
Matthew Hooker 2747562708
remove ssh_private_ip from docs 2018-02-11 13:57:25 -08:00
Matthew Hooker 21313f4cf3
fix link 2018-02-10 13:59:28 -08:00
Matthew Hooker b863b7ab9e
fix outgoing links 2018-02-09 14:28:49 -08:00
Matthew Hooker 0935ba3e9d
Merge pull request #5380 from bennu/local-vsphere-template
enable vsphere-template post processor to work with local builders
2018-02-09 13:01:36 -08:00
Matthew Hooker 4be86e2e18
Merge pull request #3417 from arizvisa/vmware-iso-extraconfig
Added support for sound, serial/parallel/usb ports, and mapping the correct network (via a couple parsers) for the VMware builder.
2018-02-09 13:01:01 -08:00
Matthew Hooker 975b50005b
Merge branch 'master' into local-vsphere-template 2018-02-09 11:18:13 -08:00
SwampDragons a0c1f4e59d
Merge pull request #5872 from DanHam/ps-combined
PowerShell - Combined and updated PR's 5515 and 5376
2018-02-08 16:33:11 -08:00
DanHam 49f9d31837
Update docs to explain new auto escape of chars special to PowerShell 2018-02-08 23:15:15 +00:00
SwampDragons 5af42ee9e2
Revert "Add `winrm_no_proxy` option." 2018-02-08 15:10:53 -08:00
SwampDragons 1006f4949c
Merge pull request #5870 from hashicorp/fix5725
Add `winrm_no_proxy` option.
2018-02-08 15:02:20 -08:00
Matthew Hooker 125a9133d4
Merge pull request #5874 from hashicorp/do_5866
fail in oracle classic builder if user tries winrm since it doesn't w…
2018-02-08 14:57:35 -08:00
Matthew Hooker 5b64f71702
Merge pull request #5764 from hashicorp/fix5760
"borrow" access config code from terraform.
2018-02-08 14:55:43 -08:00
Matthew Hooker c11627fba7
document new skip_metadata_api_check option 2018-02-08 14:52:51 -08:00
Matthew Hooker a9b48309c9
update amazon authentication docs
Correct docs to reflect new behavior. This is largely borrowed from
terraform.
2018-02-08 14:48:04 -08:00
Megan Marsh ad2e5f1f08 fail in oracle classic builder if user tries winrm since it doesn't work yet, and add attributes and attributes_file fields to oracle builder 2018-02-08 12:52:44 -08:00
Matthew Hooker 4c7a467e9e
format scaleway docs 2018-02-08 12:10:12 -08:00
Edouard BONLIEU 520433c0b8
Cleanup documentation 2018-02-08 12:10:10 -08:00
Edouard BONLIEU 09805911b4
Fix builder unique id
Add new ARM64 commercial types
DOC - Add default value for optional settings
DOC - Fix typo
2018-02-08 12:09:25 -08:00
Edouard BONLIEU edf9dd1517
Fix doc 2018-02-08 12:09:25 -08:00
Edouard BONLIEU 2de93c5ae6
Add existing SSH key support
Update documentation
2018-02-08 12:09:25 -08:00
Edouard BONLIEU 1fb13cc23e
Add image creation from snapshot
Rename organization_id / access_key
Update test / doc
2018-02-08 12:09:25 -08:00
Edouard BONLIEU 9b611af7e6
Allow token and organization id to be passed via env vars 2018-02-08 12:09:25 -08:00
Edouard BONLIEU 5a2f37896e
Add documentation 2018-02-08 12:09:24 -08:00
Matthew Hooker 472a922642
clean up ncloud docs 2018-02-08 11:47:28 -08:00
Matthew Hooker 6205c71f98
Merge pull request #5791 from YuSungDuk/master
Naver Cloud Platform builder
2018-02-08 11:10:18 -08:00
DanHam e982bc4ea5
Fix copy/paste of description from shell provisioner 2018-02-08 12:03:18 +00:00
DanHam 2b1aa04583
Update docs to reflect new upload and dot source of env var for std ps cmd 2018-02-08 12:03:18 +00:00
Matthew Hooker 22666153f9
Add `winrm_no_proxy` option.
Setting this adds the remote host:ip to the `NO_PROXY` environment
variable.
2018-02-07 20:58:08 -08:00
James Cunningham 2ae73162e5
fix docs mountpoint typo 2018-02-06 19:58:54 -07:00
Edward c918e4113f
Add the version note in OpenStack builder section 2018-02-06 17:36:48 -08:00
Sean Malloy 22deb5045d Remove extra new line from googlecompute docs 2018-02-04 01:16:34 -06:00
Sean Malloy c75db88f6b Add documentation for new googlecompute builder image_licenses configuration option 2018-02-03 15:56:29 -06:00
Sean Malloy 1c9f18603c Fix Google Compute Builder Documentation
Added required configuration option ssh_username to basic config
example.
2018-02-03 15:32:10 -06:00
Ali Rizvi-Santiago eb0445ca96 Added support for specifying both the network adapter type and cdrom adapter type as requested by @night199uk. Also included the respective documentation for these new options. 2018-02-02 19:18:50 -06:00
Ali Rizvi-Santiago 74946071d2 Added support for specifying the disk adapter type to the vmware builders. This was squashed from the vmware-diskAdapterType branch (#2968) as submitted by Rami Abughazaleh <icnocop@users.noreply.github.com>. This closes #5671 and possibly #4885.
arizvisa: Updated icnocop's documentation to include the possible disk adapter types that one can specify.
arizvisa: Tweaked icnocop's support for the `disk_adapter_type` option to the VMWare builder that caused conflicts due to version skew.
icnocop: Updated links to the Virtual Disk Manager User's Guide PDF to open in a new window and also added the Adobe PDF icon
icnocop: Added support for vmware to specify the disk adapter type, ide or scsi (lsilogic or buslogic)
2018-02-02 19:18:49 -06:00
Ali Rizvi-Santiago 898b27c16d Added support for the NONE option to be specified for parallel and serial ports in the vmware iso builder. 2018-02-02 19:18:48 -06:00
Ali Rizvi-Santiago 0d6cf7fac4 Added support for auto-detection to the serial and parallel port types.
Included the yield option to all the serial port types.
Added the ability for the network type to fallback to a custom network if the
    specified network name is not found in netmap.conf.
Promoted the scope for both Read{Dhcp,Netmap}Config inside vmwcommon.driver.
Updated the documentation for the VMware builder.
2018-02-02 19:14:29 -06:00
Matthew Hooker 399431c00b
group oracle builders under a single heading. 2018-02-02 12:39:45 -08:00
SwampDragons caea770af1
Merge pull request #5819 from hashicorp/oracle-oci-builder
Oracle oci builder
2018-02-02 11:56:18 -08:00
Megan Marsh addedbb680 Revert "Merge pull request #5515 from DanHam/dot-source-env-vars"
revert so we can use a branch that's had more recent work done
This reverts commit e56849c605, reversing
changes made to 6d14eb6ea4.
2018-02-02 09:58:39 -08:00
Megan Marsh 30a4998a81 branding 2018-02-01 16:35:10 -08:00
Ben Phegan 3c88e787df
Merge branch 'master' into hyperv_mac_address 2018-02-02 09:26:52 +11:00
SwampDragons e56849c605
Merge pull request #5515 from DanHam/dot-source-env-vars
Extend upload and subsequent dot sourcing of env vars to non-elevated Powershell cmd
2018-02-01 13:06:01 -08:00
SwampDragons 6d14eb6ea4
Merge pull request #5631 from vijayinvites/diffdisks
[Hyper-V] Use differential disks and Inline disk creation to improve build time (a lot) and to reduce disk usage(a lot)
2018-01-31 16:51:27 -08:00
SwampDragons 074ddbea8e
Merge pull request #5732 from KohlsTechnology/vagrant_google
Add vagrant post-processor support for Google
2018-01-31 15:49:02 -08:00
Matthew Hooker 9f87213ba4
tests and docs for #5831 2018-01-31 13:08:25 -08:00
Matthew Hooker 918a50225b
cleanup docs 2018-01-31 12:52:04 -08:00
Megan Marsh 66cd85828e rename dest_image_list_description to image_description 2018-01-31 12:48:40 -08:00
Matthew Hooker ed1057518f
Merge pull request #5729 from Malet/patch-2
Improve vmware-iso disk_type_id documentation
2018-01-31 12:46:33 -08:00
Matthew Hooker 73e8be022d
call out hax accelerator issue 2018-01-31 12:45:38 -08:00
Matthew Hooker baf8d30ad2
Merge pull request #5738 from testworksau/intel-haxm-support
Add Intel HAXM support to QEMU builder
2018-01-31 12:41:15 -08:00
Matthew Hooker ff6425fb22
better documentation 2018-01-31 12:35:25 -08:00
Matthew Hooker 63f1673909
ssh deadlines 2018-01-31 12:35:25 -08:00
Megan Marsh 64e26d6fa2 update example file in the oracle-classic docs 2018-01-31 12:23:25 -08:00
Matthew Hooker b9c0d3ab56
Merge pull request #5830 from hashicorp/sshkeepalive
add session level keep-alives for ssh communicator
2018-01-31 12:23:02 -08:00
Megan Marsh 871ead371a Clean up based on Oracle comments 2018-01-31 10:47:19 -08:00
Matthew Hooker 2452f0788b
remove obsolete ssh_wait_timeout from examples 2018-01-30 23:30:45 -08:00
Matthew Hooker 55977be8f3
Update communicator.html.md 2018-01-30 23:26:26 -08:00
Matthew Hooker cab52872f4
add session level keep-alives for ssh communicator 2018-01-30 22:00:37 -08:00
유성덕 5714108ef9 Merge branch 'master' into support_ncloud 2018-01-29 22:10:18 +09:00
유성덕 32e9ff84c5 Add ncloud doc html 2018-01-29 17:16:28 +09:00
Matthew Hooker a4518f8ac8
show a policy doc for `ec2-upload-bundle` 2018-01-25 15:22:34 -08:00
Matthew Hooker 48105e74bd
add note about upload-bundle iam perms 2018-01-25 14:52:40 -08:00
Megan Marsh 00db189c9c
add docs page 2018-01-25 14:34:03 -08:00
Brian Terry 380147200c Added role in amazon-import 2018-01-25 10:56:30 -05:00
Matthew Hooker 5e444ff7ab
update multistep documentation 2018-01-24 17:27:08 -08:00
Matthew Hooker ccbd8b8abf
update plugin documentation 2018-01-24 16:59:32 -08:00
Matthew Hooker 4bccbbba1f
Merge pull request #5790 from GennadySpb/trusted_certs_dir
Support 'trusted_certs_dir' chef-client configuration option
2018-01-23 13:11:27 -08:00
Gennady Lipenkov 53aaf84100 Support 'trusted_certs_dir' chef-client configuration option 2018-01-13 01:53:49 +03:00
Matthew Hooker 0023aa11cf
add kms_key_id to block device docs 2018-01-12 14:48:18 -08:00
Matthew Hooker e968f9d6cc
spelling/style fixes 2018-01-12 14:26:56 -08:00
Jason Wieringa 2ac59b3c27 builder/amazon: Added KmsKeyID to BlockDevice
+ Adds kms_key_id to list of options
+ Tests that configuraiton is set along with encrypted
+ Updates documentation on ebsvolume builder
2018-01-11 20:27:38 -08:00
Matthew Hooker 6f2669c044
Revert "add note about vix api libraries"
This reverts commit c5ec92c88b.
2018-01-11 16:48:39 -08:00
Matthew Hooker c5ec92c88b
add note about vix api libraries 2018-01-11 15:44:49 -08:00
Matthew Hooker f5ea1e8312
Use WaitUntilInstanceReady waiter 2018-01-10 15:57:31 -08:00
Diego Goding 38b1cdd8c4 fixed issue 5779 2018-01-10 08:56:59 -06:00
lmayorga ccf404ea75 fix typo 2018-01-06 13:13:19 -05:00
lmayorga 7a4709400b improve documentation when vmware-iso is used on amazon-import post-processr 2018-01-04 21:49:36 -05:00
Matthew Hooker 0ae1df2071
clarify that ssh_interface works for winrm 2018-01-03 13:42:53 -08:00
stack72 c3467b686c builder/triton: Add support for Triton RBAC
Fixes: #5737

Triton allows for subusers to be granted access to your account. This PR allows a user to be specified
2017-12-29 21:20:40 +02:00
Glenn McDonald 7250c4f7f0 Add Intel HAXM support to QEMU builder 2017-12-29 11:51:57 +11:00
Sean Malloy e47bd65986 Add vagrant post-processor support for Google
Add the ability to create Google vagrant boxes
using the vagrant post-processor. The Google
plugin for vagrant is linked below.

https://github.com/mitchellh/vagrant-google
2017-12-23 00:13:17 -06:00
Malet 93c2f2ec93
Improve vmware-iso disk_type_id documentation
Referring to the vmware documentation might be more "correct", but having the options listed will make the available options much clearer.
2017-12-21 17:24:04 +00:00
Lance Lafontaine 93d201828c Corrects small typo in amazon-* builder docs 2017-12-19 19:29:39 -05:00
Ben Phegan c338cb79d0 Initial commit of feature to allow MAC address specification for HyperV builders 2017-12-15 13:24:15 +11:00
Matthew Hooker cba1a0598f
document additional aws permission 2017-12-12 21:13:09 -08:00
Dave Sanderson 666796e8eb Add ability to stat a remote path 2017-12-12 14:39:13 -07:00
Matthew Hooker 738e378e91
complete the thought 2017-12-12 09:07:07 -08:00
Matthew Hooker cd2a0fe873
add deprecation warnings to docs 2017-12-12 09:07:06 -08:00
Vijaya Bhaskar Reddy Kondreddi 5346583df9 Update docs 2017-12-11 11:24:59 +05:30
Matthew Hooker 2c1c7b9659
Merge pull request #5630 from johndaviesco/winrm_no_proxy
Winrm no proxy
2017-12-07 15:41:16 -08:00
John Davies-Colley 76ac755ed9 fixing wording for proxy usage 👌 2017-12-06 17:13:02 +13:00
John Davies-Colley 92d1bdbdab docs change for deprecation and proxy usage ✔ 2017-12-06 16:50:54 +13:00
Jamie Lennox d043c37ad4 Azure: Don't provide location for build_resource_group_name
Location is required by default because you must specify where to create
the resource group containing the packer resources.

When using build_resource_group_name you are specifying that packer
should use an existing resource group and so the location that resources
are in can be determined by fetching the information from the existing
group.

It is forbidden to pass both variables as it is easier and more
intuitive that the location comes from the group rather than ignore a
parameter.

Closes: #5655
2017-12-04 11:22:54 +11:00
SwampDragons 753d3cf216
Merge pull request #5618 from kwilczynski/ansible-local-clean-staging-directory
ansible-local: Add ability to clean staging directory.
2017-11-30 14:27:59 -08:00
SwampDragons 37d22160a8
Merge pull request #5619 from kwilczynski/add-packer_version-function
Add new `packer_version` function.
2017-11-30 09:43:25 -08:00
Hariharan Jayaraman b66426e668 Updates to Docs to ensure permission issues are clearer 2017-11-28 16:23:49 -08:00
zhuzhih2017 bdc1fa0527
Merge pull request #5641 from zhuzhih2017/master
Add security token supported and TLS handshake timeout support
2017-11-28 11:15:56 +08:00
zhuzhih2017 de0017c37a Add security token supported and TLS handshake timeout support 2017-11-28 10:32:17 +08:00
Matthew Hooker ff3efb4641
remove trailing spaces 2017-11-27 17:26:03 -08:00
Matthew Hooker be3fe340c8
add a section about uploading files that don't exist. 2017-11-27 17:23:31 -08:00
SwampDragons e990e49711
Merge pull request #5638 from hashicorp/docs_5623
Docs 5623
2017-11-27 16:58:24 -08:00
Megan Marsh a325780aa5 make description match 2017-11-27 15:18:58 -08:00
Megan Marsh df492d35bf remove confusing use of local. dang. 2017-11-27 15:17:54 -08:00
Megan Marsh 150bf1f6da clarify shell-local location 2017-11-27 15:15:52 -08:00
Megan Marsh 52f5f2b895 clarify where ansible-local runs 2017-11-27 15:10:29 -08:00
Ilon Sjögren 0dae5bc8bd Should state that file provisioner requires source at execution time 2017-11-22 09:13:47 +01:00
John Davies-Colley d4f37ab5f6 changing config varibles name in docs to match names in code 2017-11-22 17:15:46 +13:00
Henry Muru Paenga 7b03613649 Update docs with ssh_interface 2017-11-22 15:52:22 +13:00
Krzysztof Wilczynski 7d80e37c14
Add new `packer_version` function.
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
2017-11-21 22:04:33 +01:00
Krzysztof Wilczynski 10370adbab
ansible-local: Add ability to clean staging directory.
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
2017-11-21 21:09:01 +01:00
Carlos Nunez a8ff095059
Generate a JSON object for Packer
This changes adds code that will generate a JSON object containing the things you'll need to make Packer work with Azure.
2017-11-18 15:44:10 -06:00
Carlos Nunez e9a63d8653
Add instructions for the Python client.
Azure uses the Python client in their Docker image. I've added additional documentation on how to "install" it as well as translations the node.js commands for it.
2017-11-18 15:27:54 -06:00
Christopher Boumenot 247da61ad1
Merge pull request #5593 from boumenot/pr-azure-keep-resource-group
Azure: Keep temporary resource group.
2017-11-16 17:39:33 -08:00
Christopher Boumenot 2684153cb2 azure: reject bad configuration faster 2017-11-16 16:34:18 -08:00
Ammar Ansari b8bd66d10d Align virtual disk size for qemu builder
When booting from a disk image, the Qemu builder resizes the disk to 40000
which is not a multiple of 1kB. This causes problems while booting from the image.
Updating the default disk size to 40960 fixes this issue
2017-11-15 15:00:13 -05:00
Malet 18b9487a38
Fix typo 2017-11-15 12:02:08 +00:00
Matthew Hooker 97ef340423
fix type 2017-11-14 16:43:57 -08:00
Matthew Hooker 7e07a7c9c4
Merge pull request #5582 from brett-richardson/patch-1
Update chef provisioner documentation
2017-11-14 16:43:32 -08:00
Ladar Levison 4a5bb756a7
Docker Example Typo
I think the intention was to show you can tag, and push the same image to multiple repos, but the example given is to the same repo, twice. This change updates the example so it uses hashicorp/packer1, and hashicorp/packer2.
2017-11-14 16:40:06 -06:00
Brett Richardson 9eacd3d618
Update chef provisioner documentation
The URL has changed, see chef documentation https://docs.chef.io/install_omnibus.html
2017-11-14 13:54:13 +00:00
bugbuilder da54bf8e73 using only remoteFolder as parameter 2017-11-10 14:03:15 -03:00
SwampDragons ce1f2457fd
Merge pull request #5563 from hashicorp/fix_5483
make restart command work correctly even if user has their own check …
2017-11-09 16:16:47 -08:00
SwampDragons e5c59468df
Merge pull request #5343 from evandbrown/pr-googlecompute-subnetworks
Interpolate network and subnetwork values
2017-11-09 12:10:41 -08:00
Arjen Schwarz 0377140c39
Azure docs: Add documentation concerning build_resource_group_name
Part of #5045
2017-11-09 22:07:43 +11:00
Chris Lundquist d00f884e71
Merge pull request #5530 from BaxterStockman/lxc-builder-cli-options
Add options to LXC builder for influencing for how containers are built and started
2017-11-07 22:32:17 -08:00
Megan Marsh b52ba4557e add some example json to windows restart_check_command 2017-11-07 16:00:40 -08:00
Matthew Hooker a26ce0c4a2
Merge pull request #5555 from cheeseprocedure/docs-communicator-ssh-agent
Website: add ssh_agent_auth to ssh communicator docs
2017-11-06 17:27:31 -08:00
Matthew Hooker 4c66c823d6
Merge pull request #5554 from briancain/update-vagrant-cloud-docs
Update vagrantcloud token page URL
2017-11-06 17:25:47 -08:00
Evan Brown 74403ef914 website: Update googlecompute engine docs
This change updates the documentation to describe how `network` and
`subnetwork` properties are processed.
2017-11-06 16:41:42 -08:00
Matt Mercer 733d5b65e5 Website: add ssh_agent_auth to ssh communicator docs 2017-11-06 15:46:13 -08:00
Matthew Hooker bdb2509735
Merge pull request #5475 from ChrisLundquist/lxd-publish-properties
[Lxd] publish properties
2017-11-06 15:45:56 -08:00
Matthew Hooker 60b013f5af
Merge pull request #5439 from pkilar/socks5_proxy
SOCKS5 proxy support
2017-11-06 15:43:09 -08:00
Brian Cain d0c1d118ea Update vagrantcloud token page URL 2017-11-06 15:39:57 -08:00
Matthew Hooker 0172a5c82b
Merge pull request #5511 from hashicorp/fix5507
remove login_email from docker
2017-11-06 15:34:04 -08:00
James Nugent fdd9b952d1
Merge pull request #5538 from stack72/triton-image-data-source
builder/triton: Add a data source for source_machine_image
2017-11-02 15:33:22 -05:00
stack72 7776bf596b builder/triton: Add a data source for source_machine_image
fixes: #5476

Based on this new template addition:

```
{
    "variables": {
        "image_version": "",
        "triton_account": "",
        "triton_key_id": "",
        "triton_key_material": ""
    },
    "builders": [{
        "type": "triton",
        "triton_account": "{{user `triton_account`}}",
        "triton_key_id": "{{user `triton_key_id`}}",
        "triton_key_material": "{{user `triton_key_material`}}",
        "source_machine_package": "g4-highcpu-128M",
        "source_machine_image_filter": {
          "name": "ubuntu-16.04",
          "most_recent": "true"
        },
        "ssh_username": "root",
        "image_version": "{{user `image_version`}}",
        "image_name": "teamcity-server"
    }],
    "provisioners": [
        {
            "type": "shell",
            "start_retry_timeout": "10m",
            "inline": [
                "sudo apt-get update -y",
                "sudo apt-get install -y nginx"
            ]
        }
    ]
}

```

I got the following output from packer:

```
packer-testing % make image
packer build \
		-var "triton_account=stack72_joyent" \
		-var "triton_key_id=40:9d:d3:f9:0b:86:62:48:f4:2e:a5:8e:43:00:2a:9b" \
		-var "triton_key_material=""" \
		-var "image_version=1.0.0" \
		new-template.json
triton output will be in this color.

==> triton: Selecting an image based on search criteria
==> triton: Based, on given search criteria, Machine ID is: "7b5981c4-1889-11e7-b4c5-3f3bdfc9b88b"
==> triton: Waiting for source machine to become available...
==> triton: Waiting for SSH to become available...
==> triton: Connected to SSH!
==> triton: Provisioning with shell script: /var/folders/_p/2_zj9lqn4n11fx20qy787p7c0000gn/T/packer-shell797317310
    triton: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
    triton: Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
```

I can verify from the triton cli tools that the id `7b5981c4` (from the packer output) is indeed the correct ID

```
terraform [master●] % triton images name=~ubuntu-16.04
SHORTID   NAME          VERSION   FLAGS  OS     TYPE        PUBDATE
49b22aec  ubuntu-16.04  20160427  P      linux  lx-dataset  2016-04-27
675834a0  ubuntu-16.04  20160505  P      linux  lx-dataset  2016-05-05
4edaa46a  ubuntu-16.04  20160516  P      linux  lx-dataset  2016-05-16
05140a7e  ubuntu-16.04  20160601  P      linux  lx-dataset  2016-06-01
e331b22a  ubuntu-16.04  20161004  P      linux  lx-dataset  2016-10-04
8879c758  ubuntu-16.04  20161213  P      linux  lx-dataset  2016-12-13
7b5981c4  ubuntu-16.04  20170403  P      linux  lx-dataset  2017-04-03 <------- THIS IS THE LATEST UBUNTU IMAGE
```
2017-11-02 16:10:16 +02:00
Lawrence 5509d0734b Added ipv6 option for digitalocean builder
the ipv6 option is already part of the godo package

Updated documentation to reflect new feature

Closes: https://github.com/hashicorp/packer/issues/5533
2017-11-01 15:41:25 -04:00
Matthew Hooker f64fa7b5ba
Merge pull request #5491 from BenPhegan/hyperv-disk_additional_size
Hyper-V disk_additional_size capability
2017-10-31 08:42:07 -07:00
Matt Schreiber 1f2135f65e
Add options to LXC builder for influencing for how containers are built and started
via

- create_options: a list of options passed to lxc-create
- start_options: a list of options passed to lxc-start
- attach_options: a list of options passed to lxc-attach

Also extended existing LXC builder BATS tests to exercise the new builder
options, and added website docs.
2017-10-30 21:48:43 -04:00
DanHam 3cdc79de6a
Update docs to reflect new upload and dot source of env var for std ps cmd 2017-10-30 21:08:14 +00:00
Matthew Hooker 1901c0385f
remove login_email from docker
adds fixer
removes documentation
removes from docker builder and docker-push pp
2017-10-25 10:53:06 -07:00
Manoj dbeb48a993 Update wording on manifest behaviour on build rerun 2017-10-24 11:27:22 +05:30
Ben Phegan 12fc928e1d Initial commit of Hyper-V disk_additional_size capability. Support a
maximum of 64 disks added to the SCSI controller.  Implement #4823.
2017-10-23 08:26:35 +11:00
SwampDragons 1563fb97c7 Merge pull request #5463 from atsushi-ishibashi/issue5323
Add clean_image_name for gcp
2017-10-20 14:16:11 -07:00
Megan Marsh 4721b48c70 add a couple of extra tests and reword documentation 2017-10-20 14:06:02 -07:00
Atsushi Ishibashi c3a00993d0 Don't truncate and replace with 'a', update docs 2017-10-19 10:45:48 +09:00
Chris Lundquist 76f0176f5e [lxd] add docs on publish properties 2017-10-18 05:05:46 +00:00
Matthew Hooker c4e83fc928 Merge pull request #5470 from aaron0browne/ecr-login-profile
Add aws_profile option to docker-push ecr_login
2017-10-17 16:07:05 -07:00
SwampDragons 940ebe0ddc Merge pull request #5473 from mprince/puppetdocs
Arguments sorting for Puppet provisioners docs
2017-10-17 13:14:08 -07:00
Matthew Hooker 265ae7026e
docs formatting 2017-10-17 11:29:11 -07:00
Marcel Prince 8244d8bfb9 Arguments sorting for Puppet provisioners docs 2017-10-17 08:25:40 -07:00
Matthew Hooker f73fbd81d2 Merge pull request #5469 from mayn/issue-5468
docs: reference generic integer/boolean datatype across docs
2017-10-16 16:30:28 -07:00
Aaron Browne 8df643c343 Add aws_profile option to docker-push ecr_login
An aws_profile option is added to the AWS ECR login credentials
configuration to allow using shared AWS credentials stored in
a non-default profile.

Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
2017-10-16 16:55:34 -04:00
Matthew Hooker 8585e0ebf5
doc improvements 2017-10-16 13:27:26 -07:00
Matthew Hooker 6837bf8276
grammar and style fix 2017-10-16 13:04:53 -07:00
Atsushi Ishibashi c22c7238ac Add doc 2017-10-17 04:05:18 +09:00
Matthew Aynalem 1967c4bc81 docs correct datatype inconsistencies int/integer => number (issue #5468) 2017-10-16 11:30:23 -07:00
Matthew Aynalem 3716effa75 docs: correct datatype inconsistencies bool => boolean (issue #5468) 2017-10-16 09:19:59 -07:00
Georg ca8805efe2 Update documentation to avoid confusion
disk_type_id defaults to different values in local build and remote build.
Documentation should reflect to what value the remote build defaults.
2017-10-15 12:29:34 +03:00
Matthew Hooker 04ed639750
fix doc link 2017-10-13 18:59:58 -07:00
Matthew Hooker 454cb08896 Merge pull request #5336 from SLAZ666/keepregistered-ovf
Add option keep_registered to virtualbox-ovf builder
2017-10-13 17:45:07 -07:00
Matthew Hooker f617a678b1 Merge pull request #5422 from localghost/upload_owner_fix
Fix owner of files uploaded to docker container run as non-root.
2017-10-13 14:56:16 -07:00
Jeremy Voorhis b0cd1ffc16 Add documentation for autocompletion setup.
Based off of Vault docs at https://www.vaultproject.io/docs/commands/index.html
2017-10-13 12:43:50 -07:00
SwampDragons f3c33240fa Merge pull request #5444 from vijayinvites/packer-vhdx
Hyperv vmcx builder and allow vhd/vhdx instead of ISO
2017-10-13 11:53:27 -07:00
Matthew Hooker f7e269945e
add cidr validation and rename option 2017-10-12 17:05:56 -07:00
Matthew Hooker c74be87187 Merge pull request #5384 from dave2/sg-source-cidr
[WIP] Allow temporary security group to have source CIDR block explicit
2017-10-12 17:05:45 -07:00
Matthew Hooker 106408f6be
add new disable_vnc option 2017-10-12 16:34:40 -07:00
nictrix 6a238a3ef3
add option to skip vnc phase and update docs 2017-10-12 16:28:27 -07:00
Brian Lalor 3a03bc48c1 Prevent angle brackets from being swallowed
The current version of the [published Azure provider page](https://www.packer.io/docs/builders/azure.html) shows the VHD URLs like:

> The captured VHD's URL will be https://.blob.core.windows.net/system/Microsoft.Compute/Images//.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.vhd.
2017-10-12 17:32:49 -04:00
Megan Marsh 468feee607 fix docs for 5205 2017-10-12 14:14:07 -07:00
localghost fef5162b01 Add description of `fix_upload_owner` to documentation. 2017-10-12 21:26:18 +02:00
SwampDragons 9b692f2598 Merge pull request #5427 from hashicorp/docs_work
Okay, I'm going to merge these docs as-is under the opinion that an example that works 99% of the time is better than no example.  @DanHam I'm still happy to test out other boot configs but I've put a fair amount of time into trying to get your suggestions to work and haven't gotten it doing what it's supposed to for AWS.
2017-10-12 10:30:17 -07:00
Matthew Hooker e497c6027f
remove obsolete information 2017-10-11 23:17:43 -07:00
Matthew Hooker 0608fe4823
mention that winrm can transfer files slowly. 2017-10-11 23:12:31 -07:00
Matthew Hooker f566c43a9d
add boot_command examples link to docs 2017-10-11 22:58:03 -07:00
Matthew Hooker 4aee438c22
document comma-separated configuration variables. 2017-10-11 19:36:54 -07:00
Matthew Hooker 6e9d37485a make it clear that VHDs work as well as ISOs 2017-10-11 22:05:53 +05:30
Matthew Hooker 5937f75898 reformat docs 2017-10-11 22:05:52 +05:30
Taliesin Sisson 5f2c71f7d7 Floppy directories are provided by default with common.floppydrives 2017-10-11 22:05:52 +05:30
Taliesin Sisson efa62e1550 Can specify an iso, vhd or vhdx for download. If it is a vhd or vhdx it is used as the hard drive for spinning up a new machine, importing an exported virtual machine or cloning a virtual machine.
Can import a virtual machine from a folder
Can clone an existing virtual machine
2017-10-11 22:05:45 +05:30
Taliesin Sisson 429e1bc3ad Adding an ISO is now optional for hyperv vmcx
Add documentation for hyperv vmcx
2017-10-11 21:42:32 +05:30
Paul Kilar 01ff96b341 Added missing dependency and updated documentation 2017-10-10 15:39:18 +01:00
Matthew Hooker 3eac1306a2
document #5206 2017-10-09 10:10:29 -07:00
Megan Marsh be25ad8021 adding pr suggestions to docs improvements 2017-10-05 16:29:38 -07:00
Megan Marsh dfc4c4533b add example manifest file to manifest docs 2017-10-05 13:40:20 -07:00
Matthew Hooker e4b67dd2f9 more spelling 2017-10-04 14:37:04 -07:00
Matthew Aynalem 1fac839b79 docs fix minor spelling typos throughout docs 2017-10-04 14:25:31 -07:00
zhuzhih2017 f0cfd86f74 Merge pull request #5423 from zhuzhih2017/master
Fix the documentation error for io_optimized type and add description…
2017-10-04 21:08:55 +08:00
zhuzhih2017 beeaa4d8ee fix the documentation error for io_optimized type and add description for default value of internet_charge_type 2017-10-04 21:04:00 +08:00
Matthew Hooker e26df7ebb3
remove outdated comment about docker behavior 2017-10-03 16:47:30 -07:00
Matthew Hooker bafcf7dfb1
test, document, cleanup puppet guest codde 2017-10-03 11:39:33 -07:00
Matthew Hooker 54a42665e0
qemu support for xen is no longer experimental.
versions of qemu prior to 1.0 only had experimental support for xen. Xen
is now part of qemu main-line, and so should be fully supported.  See
https://wiki.xenproject.org/wiki/QEMU_Upstream.
2017-09-29 12:42:40 -07:00
Matthew Hooker b3661c1f63
builder/docker: set user during exec.
Add `exec_user` option to control what user `docker exec` is run as.
2017-09-28 16:39:23 -07:00
Megan Marsh ae6dae2726 add quoteless option to sudo example 2017-09-27 16:02:18 -07:00
SwampDragons 0ef12c9810 Merge pull request #5365 from DanHam/gh-4322-psleak
Fix Powershell Progress stream leak to stderr for normal and elevated commands
2017-09-26 15:53:54 -07:00
DanHam b7bb6b54b4 Update docs with new defaults for Powershell commands 2017-09-26 11:07:38 +01:00
Oscar Elfving 8173e5d3ce Updated docs with more robust sysprep script for the windows Azure builder 2017-09-26 11:56:46 +02:00
Zanetti, David 2a6b592c99 Add docs for security_group_source_cidr option on Amazon builders 2017-09-26 01:44:58 +00:00
Matthew Hooker 02cd6bc7f0 Merge pull request #5288 from hashicorp/fix3114
add token variable to upload bundle command template
2017-09-25 18:36:28 -05:00
Matthew Hooker 4bc8e7de3d
add token variable to upload bundle command template 2017-09-25 16:35:53 -07:00
bugbuilder b3a0e51fe5 adding documentation 2017-09-24 01:42:28 -03:00
Peter Mounce ac8eedf171 Introduce a new configuration parameter instead
... so that one can have a different list compared to instances.
2017-09-18 17:53:40 +01:00
Peter Mounce 8789ae72e8 Make the googlecompute builder label the resulting image.
... so that it's possible to find images matching particular characteristics more easily.
2017-09-18 15:44:01 +01:00
Megan Marsh f71a25c7a7 Merge pull request #5345 from hashicorp/elevated_vars_4994
Elevated vars 4994
2017-09-15 09:12:58 -07:00
Megan Marsh 5d63f01fed Update docs for elevated_execute_command with new default command 2017-09-15 08:14:12 -07:00
Matthew Hooker e8c54cb496
docs: update default value for `expect_disconnect` 2017-09-14 17:49:34 -07:00
Megan Marsh f86d45eaf6 fix docs for execute_command and elevated_execute_command 2017-09-14 10:50:38 -07:00
SLAZ666 f6bb79784f Add option keep_registered to virtualbox-ovf builder 2017-09-13 15:37:26 +02:00
Matthew Hooker fc1ce68bff
docs: add lxc/d to sidebar, cleanup 2017-09-12 15:45:55 -07:00
Andrew Pryde 6fd2f6701d
Rename Oracle BMCS builder to OCI
Oracle Bare Metal Cloud Services (BMCS) has been rebranded as Oracle
Cloud Infrastructure (OCI).
2017-09-12 10:40:56 -07:00
Matthew Hooker 9977edc4b4 Merge pull request #5322 from danielcompton/patch-1
Add troubleshooting steps to Ansible provisioner docs
2017-09-11 11:43:32 -07:00
Matthew Hooker bdd8ff104d
fix doc layout 2017-09-11 09:56:11 -07:00
Matthew Hooker 624b1e5110 Merge pull request #4554 from prydie/f-oracle-bmcs
Oracle Bare Metal Cloud Services (BMCS) builder
2017-09-11 09:42:14 -07:00
Andrew Pryde 6612a2cc70 Remove copyright statement from docs 2017-09-11 15:08:17 +01:00
Daniel Compton b754862fd8 Add troubleshooting steps to Ansible provisioner docs
- Explain how to enable verbose Ansible output
- Add docs about the perils of having loaded too many SSH keys to ssh-agent
2017-09-10 21:03:06 +12:00
Matthew Hooker 322422f235
remove copyright notice header and add COPYRIGHT file 2017-09-08 09:49:06 -07:00
Matthew Hooker 817dc973c8
clarify docs 2017-09-06 15:01:39 -07:00
Matthew Hooker 57237c55e6 Merge pull request #5308 from pdecat/f-gce-instance-labels
Add support for setting labels on GCE instance
2017-09-06 14:59:40 -07:00
Patrick Decat a005638e11 Document labels set on GCE instance 2017-09-06 23:22:51 +02:00
Megan Marsh 4d89ab3943 Merge pull request #5309 from hashicorp/pr/3523
Pr/3523
2017-09-06 09:27:58 -07:00
Megan Marsh 41103cf9ca fix docs 2017-09-06 08:55:39 -07:00
raylu 6135b0bf48 Fix ubuntu source_ami_filter examples
Canonical publishes stable AMIs at ubuntu/images/ and unstable AMIs at
ubuntu/images-testing/. Combined with most_recent: true, the old name
filter bounces you between stable and unstable.
2017-09-05 17:25:34 -07:00
Chris Lundquist cd2a783382 [lxc] update to new conventions, improve docs 2017-09-05 15:19:25 -07:00
Chris Lundquist db74392528 [lxc] add some words of warning around edge cases 2017-09-05 15:17:15 -07:00
Chris Lundquist 44c942a21f [lxc] provide centos 7 example 2017-09-05 15:17:15 -07:00
Chris Lundquist 612c87ee2d [lxc] add first draft of documentation 2017-09-05 15:17:15 -07:00
Chris Lundquist f6bc158a80 [lxd] minor fixups for new styles and docs 2017-09-05 12:46:36 -07:00
Chris Lundquist 05f072929f [lxd] first pass at docs 2017-09-05 12:44:39 -07:00
Matthew Hooker 2a0a8cb8fa Merge pull request #5104 from lfarnell/bug-5100
Added ansible-galaxy command to docs
2017-09-02 14:31:17 -07:00
Megan Marsh 3974976518 Merge pull request #5137 from vilkaspilkas/f-googlecompute-accelerator
Add accelerator api support to googlecompute builder
2017-09-01 14:12:26 -07:00
bugbuilder abc21406cb Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl 2017-08-31 22:22:51 -03:00
Matthew Hooker 54920422ea Merge pull request #5252 from c22/packer_4391_rework
#4391 rework (see #4426)
2017-08-31 13:46:48 -07:00
Rickard von Essen 1a1ab3863c
cloudstack: Add support for Security Groups
Adds two new options:
- `create_security_group` which automatically creates a temporary SG.
- `security_groups` which takes a list of SGs to attach to the instance.
2017-08-31 12:00:03 -07:00
Megan Marsh cc104cdf55 Merge pull request #5174 from rickard-von-essen/cloudstack-temp-ssh-key
cloudstack: Setup temporary SSH keypair
2017-08-30 16:49:11 -07:00
bugbuilder f09a9c4653 using artifact ID 2017-08-30 18:19:54 -03:00
bugbuilder 138f54d9d3 Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl 2017-08-30 18:13:54 -03:00
Megan Marsh 1adcce6046 Merge pull request #5284 from hashicorp/fix_5093
Allow granular modification of sriov and ena enhanced networking opti…
2017-08-29 14:28:42 -07:00
Megan Marsh 2c2321fb99 remove enhanced_networking deprecation note from docs. changelog will suffice 2017-08-29 10:53:52 -07:00
Megan Marsh 85ad1f58fb include ena_support and sriov_support in chroot and instance docs 2017-08-29 09:36:06 -07:00
Megan Marsh 4e8303f3b4 Merge pull request #5024 from rickard-von-essen/issue-4941
ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding
2017-08-28 11:55:26 -07:00
Megan Marsh 2d4bc70d7b use ami prefix to make it clear that these variables are amazon specific
add fixer, fixer tests
2017-08-28 11:21:27 -07:00
Megan Marsh 9e2e467b31 Allow granular modification of sriov and ena enhanced networking options in amazon amis. Maintain old functionality. 2017-08-25 14:49:53 -07:00
Christopher Boumenot 9a34fd15ca azure: improve docs and validation
Closes #5186
2017-08-24 15:23:13 -07:00
Christopher Boumenot 0780667b4d azure: support storage account for managed images
Closes #5202
2017-08-24 15:10:49 -07:00
Victor Ronin cb75796389 Show a message why VM export was skipped while building on VMWare Fusion/Workstation 2017-08-23 12:44:46 -07:00
c22 bc2e3de06d Resolve merge conflicts and update documentation. 2017-08-22 14:10:37 +10:00
c22 80ba99c04f Update documentation + small fixes
Updated the puppet-masterless documentation
Removed extraneous ConfigTemplate code
2017-08-22 14:10:37 +10:00
c22 1c592f291e Better Windows support in puppet-server
Reworking the puppet-server provisioner based on chef-client.
2017-08-22 14:10:37 +10:00
Matthew Aynalem caaf6c3271 docs builders/alicloud - add missing sidebar_current 2017-08-20 06:55:49 -07:00
Sergei A Mamonov 0b4e8474e2 Add docker container_dir to docs 2017-08-14 09:26:05 -07:00
Joao Albuquerque d909c702ee Working PublicPrivate 2017-08-08 15:05:45 +01:00
Matthew Aynalem 974309d81f fix alicloud misspelling, add missing sidebar_current 2017-08-03 20:29:35 -07:00
Matthew Hooker c4e72dc4a0
fix formatting 2017-08-03 15:14:46 -07:00
Matthew Aynalem 64b8666531 move resource_pool to optional section 2017-08-03 07:49:15 -07:00
Andrew Pryde e8e0e8c948 Add ssh_private_key_file support to BMCS builder 2017-08-02 17:18:53 +01:00
Andrew Pryde e8e13dde60 Split BMCS config docs into required/optional 2017-08-02 12:44:44 +01:00
Andrew Pryde e981c5bfb5 Add note in BMCS builder docs re subnet comm port
Communicator must be able to communicate with instance via configured
subnet. The default communicator and default BMCS subnet work out of
the box, however, this makes required config for custom set-ups
clearer. Resolves @dave2's comment on
https://github.com/mitchellh/packer/pull/4554.
2017-08-02 09:53:48 +01:00
Andrew Pryde 3c4ec2dc3e Allow override signing key pass in oracle-bmcs
Adds pass_phrase property to the oracle-bmcs builder to allow users to
specify/override a pass phrase for the private key used to sign requests
to the BMCS API.
2017-08-02 09:53:48 +01:00
Andrew Pryde 9728f890cf Implemented and documented oracle-bmcs builder
Implements a new Packer builder (oracle-bmcs) which adds support for
building custom images for Oracle Bare Metal Cloud Services (BMCS)
https://cloud.oracle.com/en_US/bare-metal.

Additionally includes documentation for the oracle-bmcs builder.
2017-08-02 09:53:48 +01:00
Bill Wang 28a986691d Add policies to use spot instance to create the AMI 2017-08-01 21:24:43 +10:00
bugbuilder 786d3c0a9d updated documentation, vm_name mandatory and cleaning code 2017-07-31 00:26:58 -04:00
Matthew Hooker c2f142eea3 Merge pull request #5133 from mayn/fix-docs-provisioners-salt-masterless
docs salt-masterless provisioner - move required element out of optional elements section
2017-07-28 13:09:02 -07:00
Rickard von Essen b66bc549cd
Remove ssh_username` from builder docs 2017-07-27 06:53:16 +02:00
Rickard von Essen fc964bfab2 cloudstack: Setup temporary SSH keypair 2017-07-26 07:38:05 +02:00
Rickard von Essen dcbf4d5f9a
digitalocean: docs: Added missing newline 2017-07-23 07:47:53 +02:00
Rickard von Essen 0fe22d55d7
amazon-ebs: docs: indentation fix 2017-07-22 08:14:27 +02:00
bugbuilder 7274bbb63d commends, documentation and var names updates 2017-07-19 00:44:18 -04:00
bugbuilder fa10616f57 Changes requested applied 2017-07-18 23:10:05 -04:00
Saulius Grusnys 1d4c42930f Update accelerator_type documentation to note the required on_host_maintenance value 2017-07-18 11:53:00 +01:00
Saulius Grusnys 2e1f85a3f2 Adding accelerator_count and accelerator_type to optional configuration reference 2017-07-18 11:14:36 +01:00
Megan Marsh 08a56a7f49 Merge pull request #5132 from hashicorp/4923_encrypt_docs
clarify docs for encrypt_boot
2017-07-17 13:12:59 -07:00
Miguel David d48ad02fbb Removed MAINTAINER from changes
Removed maintainer from changes array since "Stderr: Error response from daemon: maintainer is not a valid change command"
2017-07-17 18:23:13 +01:00
Rickard von Essen ef5c7936f2 Merge pull request #5130 from rickard-von-essen/cloudstack-ssh-agent
cloudstack: Add support for ssh_agent_auth
2017-07-17 18:41:24 +02:00
bugbuilder 2ddc07d3b9 Documentation update to clarify the use of the datacenter option 2017-07-16 22:15:09 -04:00
Matthew Aynalem d08e47a853 docs salt-masterless provisioner - move required element out of optional elements section 2017-07-16 16:26:31 -07:00
Megan Marsh 987347c7d5 clarify docs for encrypt_boot 2017-07-14 16:32:47 -07:00
Rickard von Essen f47c41372e
cloudstack: Add support for ssh_agent_auth 2017-07-14 21:25:20 +02:00
Rickard von Essen 01b9bf4d4f Merge pull request #5127 from rickard-von-essen/cloudstack-docs
cloudstack: Multiple doc fixes
2017-07-14 16:01:51 +02:00
Rickard von Essen 291d9ccaf1
Updated after review 2017-07-14 16:01:08 +02:00
Rickard von Essen 24a53b7ee5 Merge pull request #5121 from mayn/type-doc-file-provisioner
website docs - move period outside of quotation marks for default value on file provisioner
2017-07-14 13:24:59 +02:00
Rickard von Essen 4a6d029554 Merge pull request #5125 from rickard-von-essen/cloudstack-cidr
cloudstack: Add default cidr_list [ 0.0.0.0/0 ]
2017-07-14 11:14:51 +02:00
Rickard von Essen 89b9b4c456
cloudstack: Add default cidr_list [ 0.0.0.0/0 ] 2017-07-14 11:12:41 +02:00
Rickard von Essen a1a655bfd8
cloudstack: add note to source_iso 2017-07-14 09:42:34 +02:00
Rickard von Essen bc5f277faf
cloudstack: add user_data_file to docs 2017-07-14 09:33:41 +02:00
Rickard von Essen e7320b526c
cloudstack: Added missing `ssh_username` to the example 2017-07-14 08:06:04 +02:00
Rickard von Essen ec01ffa91b
cloudstack: Moved several settins to the optional section
Moved `instance_name`, `template_name`, and `template_display_name` to the
optional section since the have default values.
2017-07-14 07:58:45 +02:00
Rickard von Essen 0d7c3ac171
cloudstack: Allow reading api_url, api_key, and secret_key from env vars
If unset reads:

- `api_url` from `CLOUDSTACK_API_URL`
- `api_key` from `CLOUDSTACK_API_KEY`
- `secret_key` from `CLOUDSTACK_SECRET_KEY`
2017-07-14 07:34:11 +02:00
Matthew Aynalem eaccfce29e move period outside of quotation marks designating an attribute value. 2017-07-12 15:03:06 -07:00
bugbuilder 3cc9f204ac Moving vsphere-tpl to vsphere-template, fixed root folder creation and updated docs 2017-07-10 20:52:48 -04:00
bugbuilder b88fb8bdb2 Improved creation folder step and fixed documentation 2017-07-10 04:13:54 -04:00
bugbuilder bfb1da6499 Adding documentation 2017-07-09 21:45:57 -04:00
localghost 1bd32d3876 Add documentation about playbook_files option of ansible-local provisioner. 2017-07-09 20:04:01 +02:00
Sander van Harmelen 3f444997b2 Make expunge optional and improve logging output (#5099) 2017-07-07 10:54:58 +02:00
Luke Farnell bc2c60021e Added ansible-galaxy command to docs 2017-07-06 21:09:23 -04:00
Lars Tobias Skjong-Børsting c01f6d8708 builder/cloudstack: Support http server (#5017)
builder/cloudstack: Added docs for http server
Closes hashicorp/packer#4949
2017-07-06 11:59:02 +02:00
Luke Farnell 4ff117b136 Fixed typo 2017-07-04 10:41:40 -04:00
Luke Farnell 92637471fa Remove custom commands from docs 2017-07-04 10:39:41 -04:00
Taliesin Sisson 2325c1ee58 Merge pull request #5085 from Lee303/builder-hyperv-temppath
Hyper-V Builder - Add support for temp_path directive to override system %temp%
2017-07-01 06:58:01 +01:00
Taliesin Sisson d569a1b879 Merge pull request #5014 from Lee303/builder-hyperv-floppydirs
Add support for floppy_dirs with hyperv-iso builder
2017-07-01 06:52:36 +01:00
Lee 599b888278 Update docs to indicate default path 2017-07-01 00:29:18 +01:00
Lee 0680cb08e5 Add support for temp_path directive to override systemp %temp% 2017-07-01 00:19:27 +01:00
Kenjiro Nakayama 2a23ab6f25 Update source build docs 2017-06-29 10:59:05 +09:00
Megan Marsh 657ec011d7 docs: properly indent sub-options for ami_block_device_mappings 2017-06-28 14:26:49 -07:00
Rickard von Essen 46ec8ccb97 Merge pull request #5035 from rickard-von-essen/issue-5018
googlecompute: Allow using URL's for network and subnetwork
2017-06-27 22:03:09 +02:00
Rickard von Essen f230f00726 googlecompute: Allow using URL's for network and subnetwork
If full server URL's is used in subnetwork we can skip reading from the network
API. This is usefull when you can launch instances in a shared network but don't
have access to do GET on the network resources.

Closes: #5018
2017-06-27 21:58:21 +02:00
Christopher Boumenot 9361a9959c azure: device login notes 2017-06-26 13:31:50 -07:00
Christopher Boumenot c8939be0e9 azure: rebase issue with docs 2017-06-26 11:13:41 -07:00
Christopher Boumenot c09f8b84b9 azure: fit and finish
* More unit testing to assert customer's configuration.
 * Further reduce the options that are needed to power an Azure build.
   This seems like a much more manageable level.
 * Update all of the examples to use a more current VM sku.
 * Add an example for RHEL.
 * Move from OpenSuSE to SuSE.
 * Update the docs.
2017-06-26 11:13:39 -07:00
Christopher Boumenot 51e03d39e6 azure: update managed image documentation
Alphabetize the optional arguments.
Add documentation for the custom_data_file option.
2017-06-26 11:13:39 -07:00
James Turnbull db7a4e56f9 Fixed typo 2017-06-25 22:36:15 -04:00
James Turnbull df5e35f408 Updating some references from mitchellh to hashicorp 2017-06-25 22:34:23 -04:00
James Turnbull fd79972ea4 Updated machine readable output in command 2017-06-25 01:05:50 -04:00
Matthew Hooker 56979a1974
Revert "Universally provide POSIX semantics for the `shell` provisioner."
This reverts commit 1ba7f9cc20.
2017-06-21 16:11:47 -07:00
Rickard von Essen 4f6010aa26
ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding
Closes: #4941
2017-06-19 16:26:18 +02:00
Lee Spottiswood 68bddbbf57 Merge branch 'master' into builder-hyperv-floppydirs 2017-06-18 21:20:15 +01:00
Chainarong Tangsurakit d4e83f044e Update Builder docs for Google Cloud Platform
Update Builder docs for Google Cloud Platform
2017-06-17 11:41:18 +07:00
Lee Spottiswood f95093ef63 Add support for floppy_dirs with hyperv-iso builder 2017-06-15 13:12:39 +01:00
Matthew Hooker bcc0d24bf4
run docs through pandoc 2017-06-14 18:13:46 -07:00
Matthew Hooker 176715b7f0
document profile option. 2017-06-14 16:45:18 -07:00
Matthew Hooker 8dae6b60c1 Merge pull request #4996 from hashicorp/mwhooker/4613
builder/amazon: Support Assume Role with MFA and ECS Task Roles
2017-06-13 17:40:09 -07:00
Matthew Hooker a215eb15bc
remove trailing whitespace 2017-06-13 16:31:50 -07:00
Matthew Hooker 160d31a568
update documentation on automatic lookup of credentials.
Reverts work in #4612
2017-06-13 16:24:50 -07:00
Justin Campbell 8810d0445e website: Recommend vagrantcloud version from var
When using multiple builders, the post-processor could yield different results for the `{{timestamp}}` interpolation.

By using a variable instead, the version will be consistent across all builders.

https://github.com/hashicorp/packer/issues/4973
2017-06-13 17:14:30 -04:00
Matthew Hooker 11379dea70 Merge pull request #5009 from sjlamerton/salt_bin_dir
Add support for salt_bin_dir
2017-06-13 10:21:53 -07:00
Megan Marsh dca38b379a missed one page to add mfa_code to 2017-06-12 17:16:27 -07:00
Megan Marsh b1743a942c port over addition of mfs_code to various amazon docs on website 2017-06-12 17:12:41 -07:00
Rickard von Essen 8eedb24d74 cherry-pick changes to amazon-import from Pickard's PR and clean up formatting 2017-06-12 16:57:47 -07:00
Kent Wang e59678a033 Fix alicloud-ecs typo
* Fix typo: internet_max_bandwith_out -> internet_max_bandwidth_out
2017-06-11 16:03:28 +08:00
Rickard von Essen 5bc8edc3b2
Updated AWS docs for using default chain 2017-06-09 10:35:48 -07:00
Rickard von Essen f4f0560101
Updated docs about AWS credentials handeling 2017-06-09 10:29:47 -07:00
Megan Marsh 33af49d980 rename private to be in line with tfe 2017-06-08 15:42:17 -07:00
Matthew Hooker cd147e2da4 Merge pull request #4970 from hashicorp/4727_sensitive_vars
allow user to mark variables as sensitive for packer push
2017-06-08 15:27:37 -07:00
Megan Marsh a21870e614 addressing PR comments 2017-06-08 13:24:07 -07:00
Megan Marsh e81cc7d890 documentation
update to use atlas/go master with newly merged changes for govendor
2017-06-08 13:01:31 -07:00
Matthew Hooker 8e86f8fb12
document VAGRANT_CLOUD_TOKEN 2017-06-07 17:22:28 -07:00
Matthew Hooker 56443d7c14 Merge pull request #4983 from hashicorp/doversioncheck
ansible: add skip_version_check flag
2017-06-07 13:42:27 -07:00
Matthew Hooker 6b67aeed3c Merge pull request #4979 from Lee303/communicator-winrm-ntlmauth
Add NTLM authentication support for WinRM communicator
2017-06-07 13:36:51 -07:00
Matthew Hooker 8f685b3bcd
ansible: add skip_version_check flag 2017-06-07 13:31:56 -07:00
Lee f86e169564 update docs description for winrm_use_ntlm directive 2017-06-07 20:59:55 +01:00
Matthew Hooker 70b3d05fb3 Merge pull request #4760 from fajpunk/ansible-inventory-dir
inventory_directory option for ansible provisioner
2017-06-07 11:22:23 -07:00
Lee Spottiswood fe5c981843 add usage docs for winrm_use_ntlm directive 2017-06-07 15:18:31 +01:00
Steven Lamerton e953898890 Add support for salt_bin_dir
Allows specifying the path to salt-call, useful if it isn't on the
path.
2017-06-07 08:16:23 +01:00
Matthew Hooker b56c6eca55
docs: more user friendly vagrant cloud example 2017-06-06 14:51:35 -07:00
Matthew Hooker bc16c13b50 Merge pull request #4961 from magicalbob/grains
Grains
2017-06-06 12:37:18 -07:00
Matthew Hooker c4ec705791 fix markdown 2017-06-06 12:35:48 -07:00
Ian Ellis d156c41e3a Added docs for grains_file config item of salt-masterless provisioner 2017-06-06 07:12:44 +01:00
jasminSPC 73b917879d Fixes #4501 2017-06-06 03:19:09 +02:00
Matthew Hooker 74bf0b636b Merge pull request #4791 from optix2000/master
Add version selection for chef-solo provisioner
2017-06-05 15:30:48 -07:00
Matthew Hooker 687f648506 Merge pull request #4634 from dayglojesus/add_amazon_import_license_type
amazon-import post-processor: support license_type
2017-06-05 15:23:14 -07:00
Matthew Hooker ab81b3ef7d Merge pull request #4699 from BenPhegan/virtualbox_sata_port_count
Add configuration to virtualbox-iso to allow sata port count configuration
2017-06-05 15:21:12 -07:00
Matthew Hooker f1465395aa
formatting 2017-06-05 10:17:53 -07:00
James Turnbull 0993f24fcf Minor updates to the Docker builder docs to clarify Docker support 2017-06-05 00:32:59 -04:00
Matthew Hooker b1bcf62ae1 Merge pull request #4619 from zhuzhih2017/master
Add packer plugin which support to create alicloud ecs image
2017-06-02 13:33:10 -07:00
Matthew Hooker 8db397765c
spelling and formatting 2017-06-01 15:47:46 -07:00
Matthew Hooker 1f4b532ed5 Merge pull request #4948 from hashicorp/kms_key_regions
Kms key regions
2017-06-01 13:30:31 -07:00
Megan Marsh b8c2a5fd43 fix step initializer everywhere StepAMIRegionCopy is called 2017-06-01 09:28:17 -07:00
Megan Marsh 1944f38985 update docs and clean up 2017-05-31 13:41:32 -07:00
Megan Marsh 6a38de4846 add docs 2017-05-31 11:32:14 -07:00
Matthew Hooker 730cc0889e Merge pull request #4919 from hashicorp/fix4798
builder/vmware: make vnc probe timeout configurable
2017-05-30 12:59:22 -07:00
Matthew Hooker f801c507fc
builder/vmware: make vnc probe timeout configurable 2017-05-30 12:51:45 -07:00
Rickard von Essen 2164700162
comm/ssh: Add support for using SSH Agent auth towards a bastion host.
Adds `ssh_bastion_agent_auth`

Fixes: #4732
2017-05-28 14:05:03 +02:00
James Nugent c4439aba82 builder/vmware: Add vmx_remove_ethernet_interfaces
This commit adds a new option, `vmx_remove_ethernet_interfaces`, to both
of the VMWare builders. This is useful when building Vagrant boxes,
since Vagrant now produces output such as:

```
WARNING: The VMX file for this box contains a setting that is
automatically overwritten by Vagrant when started. Vagrant will stop
overwriting this setting in an upcoming release which may pre vent
proper networking setup. Below is the detected VMX setting:

   ethernet0.pcislotnumber = "33"

If networking fails to properly configure, it may require this VMX
setting. It can be manually applied via the Vagrantfile:

   Vagrant.configure(2) do |config|
     config.vm.provider :vmware_fusion do |vmware|
       vmware.vmx["ethernet0.pcislotnumber"] = "33"
     end
   end
```

This can be avoided entirely by removing the ethernet adapters from the
VMX file prior to packaging as a Vagrant box, in which case adapters are
created as expected according to the Vagrantfile specification.
2017-05-24 18:53:25 -05:00
Brian Warsing 74de3782a2 fix spacing on related documentation 2017-05-24 11:35:46 -07:00
Brian Warsing c23f212bbb Update amazon-import.html.md
Include usage info and example for `license_type` configuration option
2017-05-24 11:30:24 -07:00
r_takaishi 67ce2da59e add cacert config to specify custom CA certificate file 2017-05-24 14:21:16 +09:00
r_takaishi c909a27e7b fix docs 2017-05-24 14:07:12 +09:00
r_takaishi a36d9d6b44 add docs 2017-05-24 10:27:29 +09:00
Justin Campbell db91f94a08 website: Add Vagrant note to atlas post-processor 2017-05-23 11:21:34 -04:00
Justin Campbell e934633df9 website: Remove Vagrant from Atlas post-processor 2017-05-23 11:16:50 -04:00
Justin Campbell e554c3d8f7 website: Un-deprecate vagrant-cloud post-processor 2017-05-23 11:15:24 -04:00
Justin Reagor edc8eabe2e Note documentation when building images under private Triton 2017-05-21 14:40:36 -04:00
Sean Chittenden 1ba7f9cc20
Universally provide POSIX semantics for the `shell` provisioner.
All platforms everywhere have `env(1)` available, leverage it
accordingly.

Improves on: #2343
2017-05-20 09:28:02 -07:00
Matthew Hooker 740f438639
clarify that variables can't be used inside type 2017-05-20 00:53:31 -07:00
Matthew Hooker 4d84915bf8 Merge pull request #4890 from jamtur01/varrename
Updated the naming of variables
2017-05-20 00:50:27 -07:00
Matthew Hooker 0479def3ae
docs/amazon: alpha sort fields 2017-05-17 10:33:57 -07:00
Matthew Hooker 710010fbe0 Merge pull request #4896 from remijouannet/f-amazon_builder_custom_endpoint
add an option custom_endpoint_ec2 for amazon builder, add a condition…
2017-05-17 10:31:40 -07:00
Rémi Jouannet 38e111ad15 add documentation for custom_endpoint_ec2 2017-05-17 19:20:02 +02:00
Doug Ireton e15f88bd5d Use current generation instance type
m1 instance types are no longer available from AWS. Use `t2.small` instance type in example
2017-05-17 10:05:51 -07:00