Commit Graph

2547 Commits

Author SHA1 Message Date
Christopher Boumenot 2a21032964 azure: randomize NIC and Public IP names 2018-03-11 20:47:45 -07:00
Matthew Hooker 8c408df53d
add note about keymap bug in qemu 2.11.
See #5769
2018-03-09 15:33:40 -08:00
Megan Marsh b1eaaed6fb
Merge pull request #5970 from boumenot/pr-azure-plan-info
azure: support for marketplace plan information
2018-03-09 15:21:03 -08:00
Christopher Boumenot 1ef491d4c8 incorporate reviewer feedback 2018-03-08 22:43:26 -08:00
Rickard von Essen 7dfa827a4c
builder/docker: Small doc update
- Correcting docs about communicator for Docker
- Clarifying that the docker builder will not work with remote hosts.
2018-03-08 13:56:34 +01:00
Evan Brown 4a2c124ea2 builder/googlecompute: Optionally disable service account
The ability to use a service account other than the default was
introduced in #5928. This change adds to that by introducing the
'disable_default_service_account' config option. If true - and
'service_account_email' is not set - Packer will create a GCE VM
with no service account.
2018-03-07 20:53:26 -08:00
SwampDragons 76e8d6e50b
Merge pull request #5980 from grahamhayes/add-lxc-vagrant-post
Add LXC to vagrant post-processor
2018-03-07 09:58:49 -08:00
Graham Hayes 91d60d6b81
Add LXC to vagrant post-processor 2018-03-07 15:17:52 +00:00
SwampDragons 9eeb1c3932
Merge pull request #5982 from hashicorp/je.fixes
Small website updates
2018-03-06 16:12:40 -08:00
Jeff Escalante 5132b684b2 update dependencies + middleman-hashicorp 2018-03-06 19:06:05 -05:00
Jeff Escalante edd9df14ed prepend 'Packer' with 'HashiCorp' on first instance 2018-03-06 19:05:39 -05: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
Matthew Hooker ace5fb7622
Merge pull request #5938 from dittos/patch-1
Fix docs on Alicloud builder
2018-02-26 10:46:50 -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
Matthew Hooker 487b1d7167
somehow fix gemfile.lock 2018-02-23 12:13:47 -08:00
Matthew Hooker 3d5592d040
prepare for Packer 1.2.1 2018-02-23 11:31:07 -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
유성덕 20b93e753d Fix `naver` of build docs to `NAVER Cloud` 2018-02-13 21:52:23 +09: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 0093f48614
prep for 1.2.0 2018-02-09 15:07:10 -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
Matthew Hooker 8b7982480f
fix sidebar placement 2018-02-08 12:10:11 -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 6559a26c11
Update Windows build demo script and template to reflect new PS behaviour 2018-02-08 18:05:37 +00: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
Justin Campbell e4c1805f81 Update hashicorp-middleman to 0.3.29
Also includes Nokogiri 1.8.1, to fix https://github.com/hashicorp/packer/network/dependencies#30455077
2018-01-09 13:11:22 -05: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
Matthew Hooker aab786dd1a
formatting 2017-12-18 15:31:50 -08:00
Maciej Skierkowski 7ee50ff926 Should be OVF
As a side note I will point out that the bento projects will use vagrant to package up the image into a .box file. But using OVF as we are assuming not to be using vagrant.
2017-12-18 15:12:04 -08:00
Maciej Skierkowski 37ce11fa0e Add details about the 30% off ongoing coupon. 2017-12-18 14:17:27 -08:00
Maciej Skierkowski f88cd61e70 Renaming 'Packet.net' to 'Packet' 2017-12-18 14:05:12 -08:00
Maciej Skierkowski 1bc6a445ef Fixing typo in coupon code 2017-12-18 14:04:46 -08: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 e6e16c1c8b
Merge pull request #5699 from hashicorp/docnestedvirt
some cloud providers support nested virtualization
2017-12-13 10:10:06 -08:00
Matthew Hooker cba1a0598f
document additional aws permission 2017-12-12 21:13:09 -08:00
Matthew Hooker 4ed60ba789
clarify support vs availability. 2017-12-12 21:07:12 -08:00
Matthew Hooker 88b275715e
clarify that there are cloud providers that support nested virtualization 2017-12-12 21:00:18 -08:00
Dave Sanderson 666796e8eb Add ability to stat a remote path 2017-12-12 14:39:13 -07:00
Matthew Hooker 62e946f5d1
Merge pull request #5698 from skierkowski/guides-update-links
Update links in guides
2017-12-12 09:36:42 -08:00
Matthew Hooker c62f00f47a
fix link 2017-12-12 09:10:38 -08: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
Maciej Skierkowski 6a91e5273f Update terraform links to new paths 2017-12-11 22:05:50 -08:00
Maciej Skierkowski 383228fded Add link to Cirlce CI article 2017-12-11 22:04:54 -08:00
Matthew Hooker 1a18957eec
call out advanced options 2017-12-11 16:06:58 -08:00
Matthew Hooker 6b30cf3653
use more screenshots for bento in the examples 2017-12-11 15:50:34 -08:00
Matthew Hooker 8703a71917
Merge pull request #5686 from skierkowski/guides-building-in-cicd
Adds a guide on using Packer with CI/CD
2017-12-11 15:14:21 -08:00
Matthew Hooker a2c9898db7
justify 80 cols 2017-12-11 15:10:37 -08:00
Matthew Hooker 532c4a4973
use a vcs project that will work 2017-12-11 15:04:03 -08:00
Matthew Hooker 97bacf6790
use absolute links 2017-12-11 14:37:28 -08:00
Matthew Hooker be3f0a121a
guides should use infinitive verbs 2017-12-11 14:31:44 -08:00
Maciej Skierkowski 004a434928 Add "coming soon" 2017-12-11 11:48:34 -08:00
Maciej Skierkowski dd5e5b8993 Using relative links for the docs/guides 2017-12-11 09:14:46 -08:00
Maciej Skierkowski dc96e73151 Adding more info about the options for Packer 2017-12-11 09:08:12 -08:00
Vijaya Bhaskar Reddy Kondreddi 5346583df9 Update docs 2017-12-11 11:24:59 +05:30
Maciej Skierkowski 3be55d20be Updating section title to be specific to VirtualBox and S3 2017-12-08 16:01:18 -08:00
Maciej Skierkowski e0d5e18450 Calling out AWS CLI dependencies 2017-12-08 15:57:39 -08:00
Maciej Skierkowski 9c90744d3e Clarifying virtualization phrasing for VirtualBox 2017-12-08 15:55:22 -08:00
Maciej Skierkowski 203f29a95e Moving images to assets folder 2017-12-08 15:49:26 -08:00
Matthew Hooker 4a864d59d7
Prepare for 1.1.3 2017-12-08 15:26:17 -08:00
Nick Fagerlund 6601f18c78 Minor edits 2017-12-08 13:46:51 -08:00
Nick Fagerlund d7fe37b862 Delete empty descriptions 2017-12-08 13:25:32 -08:00
Maciej Skierkowski 79c10a251c Using placeholder for now 2017-12-08 11:05:17 -08:00
Maciej Skierkowski c4abcd9c7c Adding more context for references to other guides 2017-12-08 10:59:43 -08:00
Maciej Skierkowski 59172c5a2d Adding the CI/CD guide content 2017-12-08 10:31:00 -08:00
Maciej Skierkowski 42d0e6f920 Navigation and placeholders for guide 2017-12-08 08:28:27 -08:00
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
Matthew Hooker f974d3552c
Merge pull request #5588 from ammaritiz/align-Qemu-disk-size
Align virtual disk size for qemu builder
2017-11-15 14:15:16 -08:00
Matthew Hooker 40f18a3e1a
prepare for 1.1.2 2017-11-15 13:48:51 -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 26c7188cf3
add community tools links from @geerlingguy 2017-10-25 14:53:18 -07: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
Matthew Hooker bd5d1fc53a
fix formatting; 2017-10-23 09:39:25 -07:00
Matthew Hooker f07b791a3f
revert eol whitespace changes 2017-10-23 09:29:03 -07:00
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
Matthew Hooker b942c27b21
remove end of line spaces 2017-10-21 20:13:47 -07: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
Matthew Hooker 178bdf1dbe Merge pull request #5460 from teadur/patch-1
Update documentation to avoid confusion
2017-10-16 13:03:23 -07:00
SwampDragons 734acd9935 Merge branch 'master' into examples-docs 2017-10-16 12:07:05 -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
DanHam c9e6ffa91c Add warning note about using the 'winrm quickconfig -q' command
A lot of examples out there on the web make use of this command to
configure the instance to allow connections over WinRM. Since the
danger is not immediately obvious and the failure because of its use
intermittent, we should do our best to advise against its use here.
2017-10-16 03:11:00 +01:00
DanHam 26319ee74b Additional explanations possibly needed by a user new to Packer or AWS 2017-10-16 03:10:52 +01:00
DanHam 400f210dc2 Set region to use user configured variable 2017-10-15 18:22:38 +01:00
DanHam 69393ef9bb No need to set execution policy. AWS default is unrestricted 2017-10-15 18:22:38 +01:00
DanHam 6d4e8ab583 Suggest Windows 2008 and 2016 and add name filter 2017-10-15 18:22:38 +01:00
DanHam e1d88ffaab Export of AWS creds for users who skipped over the GNU/Linux example 2017-10-15 18:22:38 +01:00
DanHam 10af3770c7 New sample output to match changes 2017-10-15 18:22:38 +01:00
DanHam 5eb68e0573 GNU to make a happy RMS 2017-10-15 18:22:13 +01:00
DanHam dc45bd381c Manually set up all required for remote management. Use in-built FW rules
Use of 'winrm quickconfig' can sometimes cause the Packer build to fail
shortly after the WinRM connection is established.

* When executed the 'winrm quickconfig -q' command configures the
  firewall to allow management messages to be sent over HTTP (port 5985)
* This undoes the previous command in the script that configured the
  firewall to prevent this access.
* The upshot is that the system is configured and ready to accept WinRM
  connections earlier than intended.
* If Packer establishes its WinRM connection immediately after execution
  of the 'winrm quickconfig -q' command, the later commands within the
  script that restart the WinRM service cause the established
  connection, and consequently, the overall build to fail.
2017-10-15 18:20:28 +01:00
DanHam e4985ae6f6 Set to use a basic Windows source AMI that qualifies for free tier usage 2017-10-15 18:20:11 +01:00
DanHam ed0a60bd61 Fix quotes. Use Write-Host in preference to Write-Output 2017-10-15 18:16:40 +01:00