Commit Graph

3635 Commits

Author SHA1 Message Date
Arjun Dandagi 675260a8c1
added version compatibility to console command
let the user know that console is available from version 1.4.2 and above, I was using 1.3.5 and didn't see the console command. thought of updating the docs.
2019-09-06 12:32:30 +05:30
Adrien Delorme 058fa2116d
Merge pull request #8064 from mjrider/issue-8060
post-processor/vsphere: removed redundant whitelist check for builders as the PP will check for an ova, vmx or ovf file
2019-09-05 10:34:04 +02:00
Adrien Delorme 1a7416e128
Merge pull request #8071 from hashicorp/add_third_party_plugins_to_website
Add third party plugins to website
2019-09-05 10:30:29 +02:00
Megan Marsh 29897e3cd2 update copy explaining where to find plugins 2019-09-04 11:11:44 -07:00
Megan Marsh 9df9ffbc06 add a section detailing some third party plugins I know about to the website 2019-09-04 11:06:05 -07:00
Robbert Müller 3c69a938c5
Update documentation for vsphere post-processor
Signed-off-by: Robbert Müller <spam.me@grols.ch>
2019-09-04 18:34:40 +02:00
Adrien Delorme 2b30e88360
Merge pull request #8068 from CallumDenby/patch-1
Remove incorrect troubleshooting information for Arch Linux
2019-09-04 15:07:10 +02:00
Adrien Delorme 55358175bf
Merge pull request #8054 from zaro0508/debugger-doc
Add doc about debugger setup
2019-09-04 15:00:30 +02:00
Callum Denby 0f5924b054
Remove troubleshooting information for arch linux
The package for Packer in the arch linux repos now points to HashiCorp packer. https://www.archlinux.org/packages/community/x86_64/packer/
2019-09-04 13:37:41 +01:00
Khai Do b442c0ad45 add debugging info to debugging page as well 2019-09-03 09:01:00 -07:00
Adrien Delorme ba9ffcbf73 re-indent HWConfig struct comments 2019-09-03 17:35:29 +02:00
DanHam 6b80075db0
Docs: Add `run_volume_tags` option to the ebsvolume docs
* Add note explaining temp override of `ebs_volumes` tags when the
  instance is initially created
2019-08-30 14:30:25 +01:00
DanHam 06b049987b
Docs: Formatting, fixes, nits, and improvements to the ebsvolume builder doc
* Fix or remove references to AMI creation copied in from other docs
* Remove unsupported `snapshot_users` and `snapshot_groups` options
2019-08-30 14:16:29 +01:00
DanHam a418a22cae
Docs: Fix missing required option `ami_name` for ebssurrogate builder 2019-08-30 14:16:29 +01:00
Adrien Delorme 7d9798f5ee update AlicloudAccessConfig docs for SECURITY_TOKEN
SecurityToken=>SECURITY_TOKEN
2019-08-29 14:39:25 +02:00
Adrien Delorme 9f8e9893b3 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-08-29 14:22:16 +02:00
Adrien Delorme 1b8673ddc9
Merge pull request #8040 from Shuliyey/doc/incorrect_documentation_in_alicloud-ecs_security_token
📝 incorrect documentation in `alicloud-ecs` builder, env for `security_token` should be `SECURITY_TOKEN` instead of `SecurityToken`
2019-08-29 10:52:41 +02:00
Adrien Delorme f89156fb83 link proxmox builder docs
fix #8044
2019-08-28 10:13:34 +02:00
Adrien Delorme b3cdf2ac8f remove docs typo 2019-08-27 15:16:33 +02:00
Adrien Delorme a73471366e docs: remove deled partial reference 2019-08-27 14:02:56 +02:00
Adrien Delorme 0fe48691e8 ignore doc fields containing `TODO` 2019-08-27 13:55:00 +02:00
Adrien Delorme 94bb33db57 fix triple backtick indentation 2019-08-27 13:37:28 +02:00
Adrien Delorme ec52f36af1 docs: escape pointer (*) parameters `*` => `\*`
so that we don't get weird italics there and there
2019-08-27 13:30:50 +02:00
Adrien Delorme d135106171 fix more docs 2019-08-27 09:50:43 +02:00
Adrien Delorme 9360f57b42 Update _RunConfig-required.html.md
Co-Authored-By: Megan Marsh <swampdragons@users.noreply.github.com>
2019-08-27 09:47:47 +02:00
Adrien Delorme 75f31b8fac add ssh interface docs to openstack 2019-08-27 09:20:47 +02:00
Zeyu Ye 125c02e86a 📝 incorrect documentation in `alicloud-ecs` builder, env for `security_token` should be `SECURITY_TOKEN` instead of `SecurityToken` 2019-08-27 16:59:42 +10:00
Adrien Delorme 5517d41468 make sure all documentation fields are there
* add missing `temporary_key_pair_name` field for alicloud
* add missing description to `vpc_filter` for aws
* add missing ssh communicator fields for aws
* add links for aws
* update vmware-vmx docs
* manually describe AMI Configuration section for ebsvolume
* display missing required ami_name field for aws
* add missing fields for docker
* add missing fields for openstack
2019-08-26 17:16:54 +02:00
Adrien Delorme 2db109d55b Merge branch 'master' into scrape_doc_to_builder_struct_config 2019-08-23 17:37:53 +02:00
Adrien Delorme 83824c4831
Merge pull request #8024 from nfagerlund/aug19_nokogiri_update
website: Update middleman-hashicorp and Gemfile.lock
2019-08-22 14:49:43 +02:00
Tadej Janež 491c832f59
Fix ansible provisioner docs for galaxy_force_install conf parameter 2019-08-22 11:28:22 +02:00
Nick Fagerlund 1f733d1070 website: Update middleman-hashicorp and Gemfile.lock
Time marches on, and so do security vulnerabilities in Nokogiri. So it's time
for a new middleman-hashicorp version.

As with last time, here's a reminder for the next person who needs to update
this:

- Packer is different from all the other product sites. It uses a Netlify
  container to build, instead of either the basic middleman-hashicorp container
  or the hybrid thing that Vault uses. It doesn't come with all batteries
  included, so it has to take fifteen minutes to build the universe the first
  time you run it (or the first time you run it after an upgrade). After that,
  it caches all the gems it built the previous time.
- So the steps to update it are a bit different. (Simpler, but more sitting around.)
    - Update the Gemfile
    - Delete Gemfile.lock
    - `make website` until it comes up, then ctrl-C
    - Commit the changes
2019-08-21 16:33:32 -07:00
DanHam 53c59fc486
Document use of Artifice and Vagrant Cloud pp's. Other changes 2019-08-21 16:53:06 +01:00
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-08-21 16:44:23 +02:00
Megan Marsh 17d9a85895
Merge pull request #7945 from ahilsend/hcloud-image-filter
feat(builder/hcloud): allow selecting image based on filters
2019-08-19 14:37:43 -07:00
stsully 9b94b9857a
update verbiage
I think the intent here was accidentally switched from "necessary" to "unnecessary." Maybe just say that it might be "required" instead.
2019-08-16 12:46:56 -06:00
Megan Marsh 94d8da60f0
Merge pull request #7940 from jgeorgeson/openstack-winrmpassword-provisioners
OpenStack builder store WinRM password for provisioners to use
2019-08-15 12:02:26 -07:00
Megan Marsh 066485bc5d cut 1.4.3 release 2019-08-14 14:50:02 -07:00
Megan Marsh ce0f11a651
Merge pull request #7912 from hashicorp/set_config_dir
Set config dir
2019-08-13 16:33:00 -07:00
DanHam cfcff0760f
Add docs for option to allow dynamic generation of box Vagrantfiles 2019-08-13 09:09:29 +01:00
Andre Hilsendeger 9bda133e80 doc(builder/hcloud): allow selecting image based on filters 2019-08-13 08:40:47 +02:00
Megan Marsh 087d7d1bb6
Merge pull request #7944 from pommetjehorlepiep/master
hyperv-vmcx builder documentation: Optional configuration key 'cpu' incorrect. Needs to be 'cpus'
2019-08-12 16:35:32 -07:00
Megan Marsh 2eaa2d7898
Merge pull request #7946 from exoscale/fix/exoscale-post-processor-wording
Update the Exoscale post-processor documentation
2019-08-12 16:33:09 -07:00
Megan Marsh 5639204532
Merge pull request #7962 from jdclouddevelopers/master
[WIP] New builder - JDCloud
2019-08-12 16:29:56 -07:00
Megan Marsh d4fdae6a68
Merge pull request #7966 from jason-azze/patch-1
Allow the enter command to render.
2019-08-12 16:09:29 -07:00
Jason Azze a2c21f0b78
Allow the enter command to render. 2019-08-09 10:43:23 -04:00
xiaohan.liang f4fc9dd09a Rewrite all files, remove sensitive information 2019-08-09 15:00:23 +08:00
Justin Georgeson 2818ab517c [docs] Add OpenStack to list of providers supporting .WinRMPassword template variable
* ansible
* powershell
* shell-local
2019-08-07 22:02:44 -05:00
DanHam 66b5b9f8c5
Fix incorrect `execute_command` defaults in shell-local pp docs 2019-08-05 17:25:22 +01:00
Marc Falzon 21d9158edc Update the Exoscale post-processor documentation
Simple wording update.
2019-08-05 10:30:17 +02:00
pommetjehorlepiep c7149c6204
Optional configuration key 'cpu' incorrect. Needs to be 'cpus'
Corrected incorrect configuration key name 'cpu'  to 'cpus'.
2019-08-05 12:15:19 +10:00
Megan Marsh c0e37e6045
Merge pull request #7780 from tmeckel/own-vbox-snapshot
VirtualBox Snapshot Builder
2019-08-01 15:31:15 -07:00
Megan Marsh a1cc3c652d
Merge pull request #7916 from rubentsirunyan/ansible-galaxy-support
Adding support for installing roles with ansible-galaxy for ansible provisioner
2019-08-01 13:55:53 -07:00
Megan Marsh 1952130030
Merge pull request #7920 from hashicorp/fix_7865
[wip] fix polling issues in azure
2019-08-01 12:40:11 -07:00
Megan Marsh cb16873081 add docs for shared_image_gallery_timeout option 2019-08-01 11:22:36 -07:00
Brian Cain 85278342fb
Update vagrant cloud post processor token example
This commit updates the Vagrant Cloud post processor example to use the
proper token name rather than the old Atlas one.
2019-07-31 08:46:07 -07:00
Ruben Tsirunyan f9d79addac Adding documentation for ansible-galaxy related arguments 2019-07-29 13:23:39 +04:00
Thomas Meckel a876bf3c4e Added documentation for virtualbox-vm builder 2019-07-27 16:08:13 +02:00
mingsheng.su 66f142adf1 update docs 2019-07-26 17:27:58 +08:00
mingsheng.su 59c8911cd5 update api about stop instance 2019-07-26 17:03:57 +08:00
Megan Marsh 7e2ea77634 docs 2019-07-25 13:16:08 -07:00
Megan Marsh 2e3d4bebe7 docs 2019-07-25 13:13:40 -07:00
Megan Marsh 3d22535742
Merge pull request #7884 from jprorama/fix-7171
[WIP] Fix #7171: select instance network on which to assign floating ip
2019-07-25 11:57:24 -07:00
Megan Marsh 166f1de5fd
Merge pull request #7887 from xunleii/f-scaleway-autoremove-volume
Allow removing volume after image creation for Scaleway builder
2019-07-25 11:56:23 -07:00
Megan Marsh aeceba5fd2
Merge pull request #7906 from grahamking/patch-1
plugins.html.md: Unix dir packer.d -> .packer.d
2019-07-25 11:54:38 -07:00
Graham King 5d470ae731
plugins.html.md: Update docs example to match code example.
`plugin.RegisterBuilder` doesn't seem to exist. Instead the [example](https://github.com/hashicorp/packer/blob/master/plugin/example/main.go) and the tests use `plugin.Server`.
2019-07-24 20:46:37 -07:00
Graham King efd70c8dce
plugins.html.md: Unix dir packer.d -> .packer.d
To match https://github.com/hashicorp/packer/blob/master/packer/config_file_unix.go#L7
2019-07-24 20:33:56 -07:00
Alexandre NICOLAIE a338dab8fc docs: add Scaleway documentation
Signed-off-by: Alexandre NICOLAIE <alexandre.nicolaie@gmail.com>
2019-07-24 21:25:17 +02:00
John-Paul Robinson c428154c6d Document instance_floating_ip_net attribute
This attribute selects a preferred network on which to associate the
instance floating ip.
2019-07-23 16:41:44 -05:00
Megan Marsh 2934e0c621
Merge pull request #7893 from StefanScherer/inspec-input-file
Use inspec --input-file instead of --attrs to avoid deprecation warning
2019-07-22 12:34:10 -07:00
Megan Marsh 54a7b4f377 update comments and docs 2019-07-22 11:54:42 -07:00
y-kuno 6305c555df Add openstack image min_disk option 2019-07-22 11:44:34 -07:00
Stefan Scherer 35dae5791c
Use --input-file instead of --attrs.
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2019-07-22 10:17:01 +02:00
Marin Salinas 653bf24211 website: add block_device attributes documentation in bsusurrogate 2019-07-18 09:39:08 -07:00
Marin Salinas a28ea324a0 website: fix some naming mistakes on the example configurations 2019-07-18 09:39:08 -07:00
Marin Salinas a152ca272e website: add outscale bsuvolume website documentation 2019-07-18 09:39:08 -07:00
Marin Salinas 0fe9971843 website: add outscale chroot website documentation 2019-07-18 09:39:08 -07:00
Marin Salinas 46afe22f8b website: add bsusurrogate website documentation 2019-07-18 09:39:08 -07:00
Marin Salinas 6b3da118fb website: add outscale bsu builder webite documentation 2019-07-18 09:39:08 -07:00
Megan Marsh e658a50880 refactored step_ami_region_copy to fix bugs and clarify assumptions; added more tests for that step.
fix race condition caused by variable declaration outside of loop
2019-07-18 09:39:06 -07:00
Megan Marsh 6b1a407e2a
Merge pull request #7870 from hashicorp/fix_7673
Fix bugs in region encryption, copy, skipping logic
2019-07-17 14:07:37 -07:00
Megan Marsh 54d2ad5028 refactored step_ami_region_copy to fix bugs and clarify assumptions; added more tests for that step.
fix race condition caused by variable declaration outside of loop
2019-07-17 11:30:20 -07:00
Megan Marsh 2d02ea209d
Merge pull request #7836 from 70k10/vncpassword
QEMU builder - implement VNC password functionality
2019-07-16 16:37:49 -07:00
Jayson Cofell 7f5fd4851e QEMU: Remove QMPEnable and depend upon VNC password usage for QMP enablement. 2019-07-16 08:56:22 -06:00
Ron Gorodetzky 18e841b568 minor grammar fix and rewrapping 2019-07-11 23:02:11 -07:00
hbdgr 7f5f9f0856 digitalocean.html.md : snapshot_timeout 2019-07-04 16:29:05 +02:00
Jayson Cofell 5c5943b8ba Add VNC Password support to QEMU builder 2019-07-03 18:38:56 -06:00
Jayson Cofell afe9ba2869 QEMU: Initial QMP support 2019-07-03 18:33:59 -06:00
Megan Marsh 4adf265b67
Merge pull request #7822 from exoscale/feature/exoscale/post-processor
Add Exoscale Import post-processor
2019-07-03 14:01:35 -07:00
Marc Falzon e265a1f8eb
Update website/source/docs/post-processors/exoscale-import.html.md
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-07-03 09:39:23 +02:00
Marc Falzon d82c4f0057 fixup! fixup! fixup! fixup! Add Exoscale Import post-processor 2019-07-03 09:28:42 +02:00
Megan Marsh 5ee943a2bf
Merge pull request #7781 from hashicorp/fix_7710
document httpip in virtualbox builder
2019-07-02 10:37:06 -07:00
Megan Marsh 62120c5c0b
Merge pull request #7813 from hashicorp/stop_calculating_spot_bids
stop calculating spot bids
2019-07-02 10:35:45 -07:00
Megan Marsh 486bdcce9d
Merge pull request #7815 from zqfan/tencent-data-disks
feature: support data disks for tencentcloud builder
2019-07-01 13:39:11 -07:00
Megan Marsh c979cad579 add a fixer and update docs for spot_price_auto_product 2019-07-01 13:01:41 -07:00
Marc Falzon 00c2df24df Add Exoscale Import post-processor
This change adds a new `exoscale-import` post-processor allowing users
to create Private Templates on Exoscale.
2019-07-01 08:40:26 +02:00
phils 700e747cb9
Fix IAM permissions for spot based on changes in 7682 2019-07-01 00:51:34 +10:00
ZhiQiang Fan 7235a4a775 feature: support data disks for tencentcloud builder
Data disk is an important feature for instances and images, this
patch implements the basic functionality of it. More work needs
to be done to make it friendly to users. Docs has pointed out
current limitation.

Also update dependencies because this feature requires new code in
tencentcloud go sdk.
2019-06-30 00:05:38 +08:00
Megan Marsh 9dd871120a
Merge pull request #7810 from zqfan/tencent-add-run-tags
feature: add run_tags to instance in tencentcloud builder
2019-06-28 14:39:52 -07:00
Megan Marsh 1d1ff4ebc9
Merge pull request #7775 from shawnmssu/feature/ucloud_builder
Packer plugin support UCloud
2019-06-28 10:28:37 -07:00
ZhiQiang Fan 310a40f8fe feature: add run_tags to instance in tencentcloud builder
Instance tags are useful, our customer asks us to support it in packer as
well, to enable them to identify the purpose of the instance, even the
instance runs in a very short time.
2019-06-28 23:18:41 +08:00
mingsheng.su 19933e83d3 Update docs of ucloud-uhost about note 2019-06-28 13:58:30 +08:00
mingsheng.su 863a80a29f
Update website/source/docs/builders/ucloud-uhost.html.md
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-06-28 12:05:46 +08:00
Megan Marsh ad7f0bda56 cut release 1.4.2 2019-06-26 15:23:23 -07:00
Megan Marsh b565075813
Merge pull request #7791 from 70k10/qemuadddisks
Add additional disk support for QEMU builder.
2019-06-26 12:47:05 -07:00
mingsheng.su 6109ad79a3
Merge branch 'master' into feature/ucloud_builder 2019-06-26 10:09:28 +08:00
Megan Marsh bed0938b6c
Merge pull request #7782 from hashicorp/fix_7758
Allow user to override vagrant ssh-config details
2019-06-25 09:18:24 -07:00
mingsheng.su b5d2f2b83a update docs of ucloud-uhost 2019-06-25 11:18:15 +08:00
Jayson Cofell c9b693080a Add additional disk support for QEMU builder. 2019-06-24 17:35:06 -06:00
Megan Marsh 3a55437f4e
Merge pull request #7790 from hashicorp/fix_7748
clarify pathing requirements for hyperv-vmcx
2019-06-24 11:36:49 -07:00
Megan Marsh 29bff0975f clarify pathing requirements for hyperv-vmcx 2019-06-24 10:56:32 -07:00
Megan Marsh 1eef03c36b
Merge pull request #7778 from amydutta/master
Publish Managed Images to Azure Shared Image Gallery (same Subscription)
2019-06-24 10:43:00 -07:00
Megan Marsh 87300df368 docs 2019-06-21 16:32:35 -07:00
Megan Marsh b3d4d03a3a document httpip in virtualbox builder 2019-06-21 11:31:57 -07:00
Megan Marsh 757bd4bed9
Merge pull request #7759 from hashicorp/do_7199
add skip_save_build_region flag to fix naming conflicts when building…
2019-06-21 11:19:31 -07:00
Amrita Dutta e96458e8bd Merge branch 'master' of https://github.com/amydutta/packer 2019-06-21 03:43:31 +00:00
Adrien Delorme 67d96d5103 openstack: document using partials from struct conf 2019-06-20 15:28:27 +02:00
Adrien Delorme 4a61dc3670 vmware: document using partials 2019-06-20 15:28:27 +02:00
Adrien Delorme d344cbab8e virtualbox: fixup communication docs a bit 2019-06-20 12:22:26 +02:00
mingsheng.su 44838592b4 update docs 2019-06-20 16:07:57 +08:00
Josh Soref b174258c57
regularize indentation 2019-06-19 13:12:40 -04:00
Adrien Delorme b1ca1bfd04 Document the virtualbox-ovf builder using partials 2019-06-19 17:37:52 +02:00
Adrien Delorme 735b34e01f Document the virtualbox-iso builder using partials 2019-06-19 17:37:22 +02:00
Adrien Delorme 74f0d56cfc virtualbox merge vbpx manage configs 2019-06-19 17:07:23 +02:00
Adrien Delorme 01eff9472a virtualbox: merge ExportOpts and ExportConfig structs 2019-06-19 16:35:15 +02:00
Adrien Delorme d4c400aa71 qemu: add missing fields and put the specific config fields on top 2019-06-19 16:34:57 +02:00
mingsheng.su 7804a52dd2 ucloud packer review 2019-06-19 21:32:33 +08:00
Adrien Delorme 433c40d72d make block device example less specific 2019-06-19 12:10:08 +02:00
Adrien Delorme 8cea5d409a doc ebsvolume builder using partials 2019-06-19 12:02:12 +02:00
Adrien Delorme aeb898d598 document amazon-instance builder with partials 2019-06-19 11:09:00 +02:00
Amrita Dutta 76dbf4fb3b Remove subscription id from SIG destination input 2019-06-19 06:10:18 +00:00
Adrien Delorme c54879717b document ebssurrogate with partials 2019-06-18 18:00:49 +02:00
Adrien Delorme 9f4c8fb321 document ebs builder using partials 2019-06-18 17:41:50 +02:00
Adrien Delorme a476ab79d7 document chroot builder using partials 2019-06-18 17:26:36 +02:00
mingsheng.su d1b9ad90c8 Merge remote-tracking branch 'origin' into feature/ucloud_builder 2019-06-18 18:17:19 +08:00
mingsheng.su 00ae304919 update docs && examples 2019-06-18 17:54:07 +08:00
Megan Marsh d460b9afd4 add docs for skip_save_build_region 2019-06-17 14:48:58 -07:00
Adrien Delorme 9b75c0af3d WIP VB 2019-06-17 16:42:49 +02:00
Adrien Delorme 7a60990825 alicloud: use partials 2019-06-14 15:56:05 +02:00
Adrien Delorme daa9f9d34e Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-06-14 15:17:56 +02:00
Adrien Delorme 065fee86a8 fix more urls 2019-06-14 15:08:59 +02:00
Adrien Delorme 6fcf581e3e remove all generated doc files before generating it again
in order to remove files that should be
2019-06-14 14:58:58 +02:00
wrolisonaflac d8b91cd7a5
Update ncloud.html.md
Fixed  blog link at cloudwindows
2019-06-14 07:54:00 -04:00
Adrien Delorme 425ad1c67e generate Shutdown command docs from strutc & use in hyperv 2019-06-14 12:43:31 +02:00
Adrien Delorme 2dc300c02e hyperv-iso: use partial docs 2019-06-14 12:17:28 +02:00
Adrien Delorme 24fad50b00 hyperv-iso: document boot config, http & floppy from partials 2019-06-14 12:17:27 +02:00
Adrien Delorme 3bb8c92902 qemu: document boot command from struct 2019-06-14 12:17:27 +02:00
Adrien Delorme b48d22b43b qemu: document FloppyConfig from struct 2019-06-14 11:52:38 +02:00
Adrien Delorme 3b66cac617 document HTTPConfig from struct 2019-06-14 11:52:38 +02:00
Adrien Delorme 76f50619b1 builder/qemu/builder.go: Document from Config file 2019-06-14 11:52:38 +02:00
mingsheng.su 787485f66f add validate project_id 2019-06-14 14:50:46 +08:00
bozhi.ch b3277698f6 let product API determine the default value of io_optimized 2019-06-14 11:49:42 +08:00
mingsheng.su 156d31f933 update acc test 2019-06-13 18:38:07 +08:00
mingsheng.su c8bab9b382 add ucloud packer 2019-06-13 15:16:49 +08:00
Adrien Delorme f4d5842b72 generate all header docs 2019-06-12 16:33:18 +02:00
Adrien Delorme 38b9bb1097 use autogenerated templates for iso config docs 2019-06-12 16:32:24 +02:00
Adrien Delorme 349c3ef74b cmd/struct-markdown: also generate docs from header comments of a struct
& generate it for ISOConfig
2019-06-12 16:25:08 +02:00
Adrien Delorme dbfadc0eea generate struct markdown from common/iso_config.go 2019-06-12 16:02:49 +02:00
Adrien Delorme a3e3c313a9 docs: use partials in googlecompute after master merge 2019-06-12 15:18:39 +02:00
Adrien Delorme 82525e4d20 use parials in yandex docs after master merge 2019-06-12 14:49:28 +02:00
Adrien Delorme 6e3dc1aa9a Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-06-12 14:28:11 +02:00
Adrien Delorme 2eef6a1492
Merge pull request #7726 from hashicorp/packer-interpolate
Packer console
2019-06-12 11:00:11 +02:00
tangjunjie119 6a7f23c401
Updated the translation 2019-06-12 14:53:00 +08:00
mingsheng.su 612d7a8d57 add ucloud packer docs 2019-06-11 20:02:00 +08:00
Gennady Lipenkov 3ac82de00c Update doc for yandex builder 2019-06-11 12:30:01 +03:00
Megan Marsh 435bda05a7 clean up docs 2019-06-06 15:02:22 -07:00
Megan Marsh 2b8fe72e30 add to sidebar nav 2019-06-06 14:31:02 -07:00
Megan Marsh bc5a48327d fix copypasta 2019-06-06 14:30:09 -07:00
Megan Marsh 668e92f2ca add docs and the option to list variables from inside the console 2019-06-06 14:26:12 -07:00
Adrien Delorme 509df6ea0f communitator: use auto-generated partials 2019-06-06 17:34:17 +02:00
Adrien Delorme 8b277f9626 docker: use auto-generated partials 2019-06-06 17:34:17 +02:00
Adrien Delorme 13fedfaa09 azure: use auto-generated partials 2019-06-06 17:34:17 +02:00
Adrien Delorme 8df433be47 aws: use auto-generated partials 2019-06-06 17:34:17 +02:00
Adrien Delorme 4ae10f08b2 docs: generate builders partials from struct comments 2019-06-06 17:34:17 +02:00
Adrien Delorme feafa8b18b make sure the vpc_filter field is exported correctly 2019-06-05 16:41:21 +02:00
Adrien Delorme b00412d055 Update alicloud-ecs.html.md
indent
2019-06-05 16:41:21 +02:00
Adrien Delorme 1ea77d5af3 Update azure.html.md
indent docs
2019-06-05 16:41:21 +02:00
Adrien Delorme ffa0431d56 aws unwrap spot cfg 2019-06-05 16:41:21 +02:00
Adrien Delorme 6660d40f56 indent aws docs again 2019-06-05 16:41:21 +02:00
Adrien Delorme 1ad677bcae aws docs indent 2019-06-05 16:41:21 +02:00
Adrien Delorme f667cdddf8 Update amazon-instance.html.md.erb
ident docs
2019-06-05 16:41:21 +02:00
Adrien Delorme ac9c67909a simplify vnc_disable_password docs 2019-06-05 16:41:21 +02:00
Adrien Delorme 17a36b3f4d Update amazon-ebs.html.md.erb
unpartialise spot docs so that autogen works
2019-06-05 16:41:21 +02:00
Adrien Delorme 105d11f2f1 Update _building_on_remote_vsphere_hypervisor.html.md
add types
2019-06-05 16:41:20 +02:00
Adrien Delorme 50b728b6c7 doc hack 2019-06-05 16:41:20 +02:00
Adrien Delorme 2c64a3f4df source_ami_filter: fix doc indentation 2019-06-05 16:41:20 +02:00
Adrien Delorme a8c8d07727 Update amazon-chroot.html.md.erb
use content of partial to be able to autodoc :D
2019-06-05 16:41:20 +02:00
Adrien Delorme 3ccf39c646 Update qemu.html.md.erb
fix indentation
2019-06-05 16:41:20 +02:00
Adrien Delorme 7d52baaf0e Update _building_on_remote_vsphere_hypervisor.html.md
clearly mark optional fields
2019-06-05 16:41:20 +02:00
Adrien Delorme da5f075a3e Update vmware-iso.html.md.erb
fix indentation
2019-06-05 16:41:20 +02:00
Adrien Delorme e71e36af3b Update azure.html.md
add dashes where needed
2019-06-05 16:41:20 +02:00
praveen4463 a9505b27aa
fixing a broken link to cloudywindows.io
Fixed broken link from https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/ to https://cloudywindows.io/post/winrm-for-provisioning-close-the-door-on-the-way-out-eh/
2019-06-04 08:47:46 +05:30
Megan Marsh a5cd37b51d
Merge pull request #7711 from amydutta/master
Update Azure docs with Shared Image Gallery (for MDI only) as destination example
2019-06-03 13:41:55 -07:00
Amrita Dutta 29b1aad441 fix indent 2019-06-03 17:58:41 +00:00
Amrita Dutta db661445d2 fix return 2019-06-03 17:57:21 +00:00
Amrita Dutta 14c442345f Update Azure Docs with SIG example 2019-06-03 17:53:44 +00:00
Brian Fox 9368269034 Add missing "vagrant package" parameters to documentation 2019-06-02 21:01:52 +02:00
Brian Fox 365f44d1c3 Spelling 2019-06-02 21:01:28 +02:00
Adrien Delorme a145804795
Merge pull request #7597 from oseiberts11/add-openstack-image-properties
Add image filtering on properties.
2019-05-31 11:03:56 +02:00
Megan Marsh 1204213516
Merge pull request #7678 from hashicorp/docker_windows_defaults
builder/docker: better windows defaults
2019-05-24 11:19:32 -07:00
Megan Marsh 6f560bef0a
Merge pull request #7653 from aaronwalker/chef_license_acceptance
adds support for accepting the chef license
2019-05-24 11:12:09 -07:00
Megan Marsh 708165eaa8 refactoring step_run_spot_instance and swapping out the calls to create a spot instance with a call to create a spot fleet of one, so that we can be more flexible with the instance type when desired 2019-05-24 09:32:54 -07:00
Dexter Lakin 873db48391
Fix typo and update ubuntu image version
The old url is no longer available, user `cpu should be `cpus
2019-05-24 16:22:13 +01:00
Aaron Walker c1141c849f update docs 2019-05-24 16:29:18 +02:00
Adrien Delorme 68a3be9f90 document execution_policy for powershell 2019-05-23 17:39:02 +02:00
Adrien Delorme 2da36b7374 builder/docker: default container dir to "c:/packer-files" on windows 2019-05-22 16:55:26 +02:00
Tony b72a55a3fb
Update virtualbox-iso.html.md.erb
remove cpus/memory flags due to their property implementation, add vram for example
2019-05-20 10:09:45 -04:00
Megan Marsh 3222f361ce add partials 2019-05-17 14:33:06 -07:00
Megan Marsh 657308c232 update volume_type docs and move ami_block_device_mappings into partials so that we don't have to keep it updated in four places. Two partials so that we can properly alphabetize the kms_key_id property only available in chroot 2019-05-17 13:48:49 -07:00
Aaron Walker dfc5e5cf94 adds support for accepting the chef license 2019-05-17 17:19:22 +02:00
Adrien Delorme bfb3b99e8e cut release 2019-05-15 14:54:10 +02:00
Adrien Delorme 4eecc7a580 document alias keys usage
refactor kms_key_id doc into the same partial
2019-05-14 12:29:28 +02:00
Megan Marsh 73d4d89ee8 fix website formatting 2019-05-10 11:12:11 -07:00
Megan Marsh 1062295ecd add omit_from_artifact option for ebssurragote launch_block_devices 2019-05-10 11:12:11 -07:00
Megan Marsh ada6b97126 document vault client env vars 2019-05-09 13:42:48 -07:00
Megan Marsh c89b6ed892
Merge pull request #7620 from hashicorp/do_7358
Allow users to set architecture in ebssurrogate and chroot ami registration
2019-05-09 11:38:18 -07:00
Alvin Huang e40943ef8f pin github and netlify providers 2019-05-09 14:21:26 -04:00
Alvin Huang c9665b7a9d set insecure_ssl and a custom site domain 2019-05-09 13:54:23 -04:00
Alvin Huang 506eb40d56 remove name argument for github_repository_webhook 2019-05-09 13:41:42 -04:00
Megan Marsh 02c9f24531 allow user to set architecture 2019-05-07 16:38:55 -07:00
Megan Marsh d2bb42a9ba
Merge pull request #7616 from howlowck/patch-1
Fixed typo in documentation
2019-05-07 16:05:19 -07:00
Megan Marsh fdae14bc18
Merge pull request #7551 from krzyszko/gcp_encryption_key
Googlecompute builder image encryption support
2019-05-07 15:59:59 -07:00
Hao Luo 98ea8b272f removed the other count 2019-05-07 12:44:49 -05:00
Megan Marsh e4326d1045
Update website/source/docs/builders/azure.html.md
Co-Authored-By: howlowck <howlowck@gmail.com>
2019-05-07 12:40:19 -05:00
Megan Marsh c290414f63
Merge pull request #7610 from hashicorp/doc_ovf_local_only
virtualbox-ovf.html.md.erb: update doc to current usage
2019-05-07 10:22:30 -07:00
Hao Luo 2c24c36589
Update azure.html.md
Getting the count right.
2019-05-06 17:02:13 -05:00
Adrien Delorme 5fd683c0cf virtualbox-ovf.html.md.erb: update doc to current usage 2019-05-06 17:08:45 +02:00
krisko f2f6772aee
Document image_encryption_key 2019-05-02 17:58:47 +02:00
Adrien Delorme 9281fada2d prevent a breaking change so that we can merge the `-parallel-builds` option first. 2019-05-02 16:24:28 +02:00
Adrien Delorme ae71a81c1e Merge remote-tracking branch 'origin/master' into pr/7501 2019-05-02 11:47:43 +02:00
Megan Marsh d343852c15
Merge pull request #7591 from hashicorp/doc_docker
docker builder: document entrypoint option
2019-05-01 14:24:35 -07:00
Megan Marsh 16f0a80054 Update website/source/docs/builders/docker.html.md 2019-05-01 12:07:47 -07:00
Adrien Delorme d08f3e0bdb document entrypoint option 2019-05-01 12:07:47 -07:00
Megan Marsh c317679f52 add some docs for how to do complex custom commands 2019-05-01 11:00:07 -07:00
Adrien Delorme b7be4f9c74
Merge pull request #7564 from zaenk/proxmox-builder-static-ssh-host
ProxMox builder: Use ssh_host config as host for the communicator
2019-05-01 11:04:04 +02:00
Peter Pribula 02b6e7f3de Changes `qemu_agent` config frm string to bool
Defaults to true
2019-04-30 20:23:34 +02:00
Olaf Seibert 58f8f088e2 Add image filtering on properties.
Initial commit with debugging info.
2019-04-30 16:34:40 +02:00
Megan Marsh e7c4cc622e
Update website/source/docs/extending/custom-post-processors.html.md
Co-Authored-By: azr <azr@users.noreply.github.com>
2019-04-30 11:56:56 +02:00
Megan Marsh 27cf53003f
Update website/source/docs/extending/custom-post-processors.html.md
Co-Authored-By: azr <azr@users.noreply.github.com>
2019-04-30 11:56:39 +02:00
Adrien Delorme 1be337b383 update docs for definig Builders and PostProcessors 2019-04-29 13:16:46 +02:00
h4ckNinja a537888fb0
Move the communicator pause_before_connecting
block to a code block and fix the JSON
2019-04-28 23:20:13 -07:00
wb-ywq399345 0da7b918ce support encryption with default service key 2019-04-26 15:12:07 +08:00
chhaj5236 6b081cc41c
update alicloud builder to use official SDK (#7477) 2019-04-26 10:37:49 +08:00
Peter Pribula cb7b77cd90 Adds `qemu_agent` optional config parameter 2019-04-25 19:25:00 +02:00
yuriolive 6ba479d723
Missing comma in JSON
JSON is invalid, is missing a comma
2019-04-25 12:58:46 -03:00
Adrien Delorme b1ffc1c814
Merge pull request #7539 from hashicorp/reverse_winrm_admonishment
warn users to lock down winrm after provisioning
2019-04-23 15:46:35 +02:00
Adrien Delorme 4e49a3307d
Merge pull request #7538 from hashicorp/ssh_explanation_table
add a table explaining what to expect with different ssh options for …
2019-04-23 15:43:25 +02:00
Adrien Delorme ee743f0b7c
Update website/source/partials/builders/_aws-ssh-differentiation-table.html.md 2019-04-23 15:42:59 +02:00
Adrien Delorme 95c8ac8a93
Merge pull request #7537 from hashicorp/vmotion_warning
add vmotion warning to vmware remote builder section, and move the re…
2019-04-23 15:40:04 +02:00
Adrien Delorme 5399e8a67d
Merge pull request #7547 from hashicorp/comment_guide
add guide for uisng jq to strip comments from packer template
2019-04-23 15:26:24 +02:00
Adrien Delorme fcfb044264
Merge pull request #7548 from hashicorp/isotime_documentation
add docs for how to use the format strings for the isotime function
2019-04-23 15:21:00 +02:00
Adrien Delorme c2021318fe
Merge pull request #7543 from carlpett/proxmox-docs-and-ports
Proxmox docs and ports
2019-04-23 11:37:12 +02:00
Megan Marsh f985f2de62 add docs for how to use the format strings for the isotime function 2019-04-22 16:10:35 -07:00
Megan Marsh 9eadac3410 add guide for uisng jq to strip comments from packer template 2019-04-22 15:35:00 -07:00
Calle Pettersson b56b3dda5f Fix os parameter documentation 2019-04-21 08:33:51 +02:00
Megan Marsh 11037968a8 warn users to lock down winrm after provisioning 2019-04-19 17:03:20 -07:00
Megan Marsh 8c9f2f5e1c add a table explaining what to expect with different ssh options for the amazon builders. Also convert builder docs to .erb to support partials 2019-04-19 16:35:15 -07:00
Megan Marsh fe7f5343fd add vmotion warning to vmware remote builder section, and move the remote builder section into a partial referenced by both the vmx and iso builders 2019-04-19 15:58:20 -07:00
Megan Marsh 7b4f138217 update docs explaining that you need local artifact for vagrant pp 2019-04-19 15:17:37 -07:00
Adrien Delorme f08373c4fe
Merge pull request #7494 from BenResTech/master
[WIP] Added warnings about writeable locations
2019-04-18 13:41:07 +02:00
Megan Marsh 5ef8595bf3
Merge pull request #7520 from hashicorp/fix_7519
fix quoting in ssh partial
2019-04-17 10:22:27 -07:00
Megan Marsh 992ab93708 fix quoting in ssh partial 2019-04-17 09:55:21 -07:00
Marques Johansson 99987c2d56 Add Linode Images builder
Packer Builder for [Linode Images](https://www.linode.com/docs/platform/disk-images/linode-images/)

Adds the following builder:

  * `linode`

Based on https://github.com/linode/packer-builder-linode (MPL/2)
(formerly maintained by @dradtke).  Includes website docs and tests.

Relates to #174, #3131
2019-04-15 20:40:59 -04:00
Megan Marsh 45af9f0cbc
Merge pull request #7498 from hashicorp/do_7465
add keep_registered option to hyperv
2019-04-15 11:12:43 -07:00
Adrien Delorme a78970c029 virtualbox-ovf: also document that the checksum field is now mandatory 2019-04-15 15:29:41 +02:00
Adrien Delorme 97f2914c6a
Merge pull request #7484 from yandex-cloud/yandex-cloud-builder
Builder for Yandex.Cloud
2019-04-15 14:02:43 +02:00
Brett Wandel 92e75f838a added the ability to limit number of builds running in parallel 2019-04-13 22:31:54 +10:00
Megan Marsh 73205f3a91 add keep_registered option to hyperv 2019-04-12 15:59:09 -07:00
Megan Marsh 0a8e19b01b
Merge pull request #7491 from hashicorp/pause_before_connecting_docs
Pause before connecting docs
2019-04-12 11:08:16 -07:00
Adrien Delorme d2f036ec44 Revert "Revert "Merge pull request #7391 from carlpett/proxmox-builder""
This reverts commit 032527ecfe.
2019-04-12 12:26:34 +02:00
Ben Allen c2ef47495e
Added warnings about writeable locations 2019-04-12 11:03:41 +01:00
Nick Fagerlund c277a0396b website: Update middleman-hashicorp to 0.3.39, update Gemfile.lock
This commit fixes some dependencies with known issues. It DOES increase the
first build time by quite a bit because a few of the updated dependencies now
use native extensions, but once it's cached you should be good.
2019-04-11 16:22:21 -07:00
Megan Marsh 26629efbf0 Megan and Adrien don't know how to web well 2019-04-11 15:40:53 -07:00
Megan Marsh 32b68de4db clarify pause before connecting code 2019-04-11 15:26:16 -07:00
Gennady Lipenkov 8e4e314553 Bulk update 'yandex' builder
Squashed commit of the following:

commit ccc020231780179d241d46eef7c0ba103366aed0
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Tue Apr 9 14:38:30 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Gennady Lipenkov a12c5d57ec Bulk update builder (doc, acc test)
Squashed commit of the following:

commit 372db94a5c4bc81bd4149de5ea9c21946362f3f9
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Thu Apr 4 13:16:03 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Gennady Lipenkov d816bb1700 Init doc page
Squashed commit of the following:

commit adff177ad2e3fc9d73bcf9703c7443ae33922dca
Author: Yandex.Cloud Bot <ycloud-bot@yandex.ru>
Date:   Tue Mar 26 20:52:08 2019 +0000

    sync upstream
2019-04-12 01:00:54 +03:00
Megan Marsh b8555d4681 cut release 1.4.0 2019-04-11 11:19:03 -07:00
Adrien Delorme 032527ecfe Revert "Merge pull request #7391 from carlpett/proxmox-builder"
This reverts commit b7d62b2ae0, reversing
changes made to c36eaf16f7.
2019-04-11 14:19:25 +02:00
Adrien Delorme aee73d745d update code after go mod update 2019-04-11 14:19:24 +02:00
Adrien Delorme dcd21d37da
Merge pull request #7489 from hashicorp/context_provisioner
Context provisioner
2019-04-11 11:55:29 +02:00
Shintaro Kaneko e1164a6a56
Fix minor typo for GCP docs 2019-04-10 10:47:50 +09:00
Jakob 65afb675d1
Fix typo in openstack builder docs 2019-04-09 16:51:39 +02:00
Adrien Delorme aa3cb5be63 document common provisioner parameters 2019-04-08 20:09:22 +02:00
Adrien Delorme 06941a86a3 make the file builder run provisioners for testing purposes 2019-04-08 20:09:21 +02:00
Adrien Delorme d8d5631dc2 allow to set provisioner timeout from buildfile 2019-04-08 20:09:21 +02:00
Megan Marsh b7d62b2ae0
Merge pull request #7391 from carlpett/proxmox-builder
Implement Proxmox builder
2019-04-08 09:54:11 -07:00
Megan Marsh c36eaf16f7
Merge pull request #7473 from MisterMiles/patch-1
Update shell-local.html.md
2019-04-08 09:53:39 -07:00
Megan Marsh efd568c10c fix docs 2019-04-08 09:30:23 -07:00
Megan Marsh 3e72e65a6c
Merge pull request #7456 from hashicorp/do_5770
introduce the clean_resource_name to clean image/var names
2019-04-05 09:12:20 -07:00
Megan Marsh 1f7150e2ee
Merge pull request #7463 from hashicorp/default_keep_input_artifact
Default keep input artifact
2019-04-05 08:10:40 -07:00
MisterMiles 5ab8cc6ded
Update shell-local.html.md
The last sentence is misleading because it is assumed that the shell-inline parameter is only executed on the machine which is build by packer.
2019-04-05 16:16:25 +02:00
Calle Pettersson 1d16b4ec41 Add docs 2019-04-04 15:20:46 -07:00
Megan Marsh 196028a7ed
Merge pull request #7444 from hashicorp/docker_windows
Docker windows
2019-04-04 09:30:43 -07:00
Megan Marsh 10f47b5158 document clearly what keep_input_artifact does for each post-processor 2019-04-03 13:57:22 -07:00
Adrien Delorme 9836dad0c9 introduce the clean_resource_name to clean image names and deprecate the old ones 2019-04-03 11:25:51 +02:00
John Jones d0eb2609a8
Ansible 2,7 "use_tty" fix
Per Issue #6453, Ansible@2.7 targetting Windows was throwing the following error when setup as the docs instruct:
"Requested option use_tty was not defined in configuration"

This is caused by something in Ansible silently discarding the whole `DOCUMENTATION` string configuration when it can't parse it. The changed line in this PR fixes that. :)
2019-04-02 21:17:08 -07:00
Megan Marsh e4842b69b4
Merge pull request #7458 from hashicorp/update-vagrant-provider-doc
update vagrant provider documentation
2019-04-02 11:08:33 -07:00
Megan Marsh 17c14770a7
Merge pull request #7450 from AkshatM/rename_security_group_cidr_to_security_group_cidrs
Rename and change `temporary_security_group_source_cidr`  to accept a list of strings (for Amazon builders).
2019-04-02 10:54:31 -07:00
Alvaro Miranda Aguilera dbe3b361b5
update vagrant provider
add clarification on provider when source have more than 1 provider.
also add an example.
2019-04-02 19:20:10 +02:00
Adrien Delorme 225f4bab1f
Merge pull request #7446 from hashicorp/do_6928
remove default ssh_username from oracle classic builder, but add note…
2019-04-01 17:24:36 +02:00
Akshat Mahajan f07e4214cc Addresses issues #5384, #5494: Rename and change `temporary_security_group_source_cidr`
to accept a list of strings (for Amazon builders).

Per this change, `temporary_security_group_source_cidr` in the configuration:

1. Will be renamed to `temporary_security_group_source_cidrs`.
2. Will accept a list of CIDRs.
3. Will have its documentation updated to reflect this change.
4. Will have a fixer attached for newer templates to avail of.
2019-03-30 15:47:03 -07:00
Megan Marsh b3c6dd0baa fix tests 2019-03-29 15:52:41 -07:00
Megan Marsh bcacd331c3 change cpu to cpus and ram_size to memory in order to bring hyper v into line with other builder defaults 2019-03-29 15:12:51 -07:00
Megan Marsh a84fc6bde9 remove default ssh_username from oracle classic builder, but add note in docs. 2019-03-29 14:24:12 -07:00
Megan Marsh b079d7ba12 add windows container example 2019-03-29 13:39:40 -07:00
Megan Marsh a01091952d add documentation for windows_container flag 2019-03-28 16:26:38 -07:00
Megan Marsh e97f864016
Merge pull request #7395 from josepand/openstack_force_delete
Expose force_delete for openstack builder
2019-03-25 17:34:00 -06:00
Megan Marsh 2c67cd966b
Merge pull request #7396 from c0sco/amazon-import-encryption
Support S3 and AMI encryption in amazon-import post-processor
2019-03-25 17:24:49 -06:00
Megan Marsh 02230a8121
Merge pull request #7424 from mayn/add-community-tools-packerpy
request to add packer.py to community tools
2019-03-20 07:55:42 -06:00
Matthew Aynalem 90e67349fc add packer.py to community tools 2019-03-19 12:14:09 -07:00
Paul Meyer e4bea87a20
Merge pull request #7211 from riezebosch/master
arm-builder: specify zone resilient image from config
2019-03-19 08:59:29 -07:00
Esten Rye 19c72f7867 Add additional detalis for Hyper-V users 2019-03-15 20:51:40 -05:00
Esten Rye 8f10683a20 Update incorrect documentation on vagrant builder.
The packer option `vagrantfile_template` is not used.
This change corrects the documentation with the correct option name.

Closes #7414
2019-03-15 20:22:51 -05:00
Megan Marsh 8853fc1946
Merge pull request #7385 from hashicorp/windows_shell_allow_exit_code
allowed_exit_codes for windows-shell and shell provisioners
2019-03-15 16:13:45 -07:00
Megan Marsh 24c42e4a1f
Merge pull request #7397 from vhaidamaka/fix-7321
Add vagrant-cloud post-processor support for the vagrant builder
2019-03-15 16:00:05 -07:00
Adrien Delorme a9e9fff3ad docs: refactor comon shell configurations into a partial 2019-03-14 13:12:03 +01:00
Adrien Delorme f369ae2178 Update windows-shell.html.md
copy paste valid_exit_codes from powershell.html.md
2019-03-14 11:17:06 +01:00
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
* removed packer.Cache and references since packer.Cache is never used except in the download step. The download step now uses the new func packer.CachePath(targetPath) for this, the behavior is the same.
* removed download code from packer that was reimplemented into the go-getter library: progress bar, http download restart, checksuming from file, skip already downloaded files, symlinking, make a download cancellable by context.
* on windows if packer is running without symlinking rights and we are getting a local file, the file will be copied instead to avoid errors.
* added unit tests for step_download that are now CI tested on windows, mac & linux.
* files are now downloaded under cache dir `sha1(filename + "?checksum=" + checksum) + file_extension`
* since the output dir is based on the source url and the checksum, when the checksum fails, the file is auto deleted.
* a download file is protected and locked by a file lock,
* updated docs
* updated go modules and vendors
2019-03-13 12:11:58 +01:00
Megan Marsh 0196d7f835
Merge pull request #7370 from sargun/allow-users-to-specify-custom-block-device-mapping
amazon-chroot: Allow users to specify custom block device mapping
2019-03-12 14:21:23 -07:00
Vadym Haidamaka 4855bc79c9 Add vagrant-cloud post-processor support for the vagrant builder 2019-03-12 05:33:46 +02:00
Vadym Haidamaka 535dfd9333 Fix typos in the vagrant builder doc 2019-03-12 05:07:55 +02:00
Matt Stofko ab4382360d Support S3 and AMI encryption 2019-03-11 13:21:47 -07:00
Sargun Dhillon 0e8eb61699 Add documentation around new behaviour of ami_block_device_mappings
Previously, if ami_block_device_mappings was set, and you were building
from an existing image, it would get silently ignored, and changing
root_device_name would be ignored. This changes that behaviour, so
if ami_block_device_mappings is specified, it's respected.
2019-03-11 11:40:49 -07:00
josepand f2b42f2b4b Expose force_delete for openstack builder
Very similar to how its exposed in terraform adds an optional force_delete config entry on the openstack builder.
2019-03-11 18:39:47 +00:00
Adrien Delorme c207a84cb8
Update website/source/docs/builders/vagrant.html.md
Co-Authored-By: davividal <davividal@gmail.com>
2019-03-07 16:19:29 +01:00
Davi Vidal 0fb89ff4c3 Fixes dead link 2019-03-07 15:09:30 +01:00
Megan Marsh a6d1d852bb
Merge pull request #7377 from davividal/vagrant-cloud-disable-ssl-verify
Ignores SSL verification when on premise vagrant cloud
2019-03-06 14:24:42 -08:00
Davi Vidal e3618bdedf Improves insecure_skip_tls_verify doc, expliciting an use case 2019-03-06 21:38:57 +01:00
Davi Vidal 6c3b74bfd3 Adds documentation on insecure_skip_tls_verify 2019-03-06 11:13:25 +01:00
Anton Kvashenkin 5e3078b9e9
Fix typo in vagrant builder description
Fix typo in `add_insecure` option.
2019-03-06 08:46:49 +03:00
Megan Marsh 5aeab4ec06
Merge pull request #7300 from kmbulebu/openstack_app_creds
OpenStack: Support Application Credential Authentication
2019-03-05 13:11:51 -08:00
Megan Marsh 5aa55f194d add vagrant docs to website 2019-03-05 09:31:14 -08:00
Megan Marsh 3dc1dafe58
Merge pull request #7287 from stephen-fox/ephemeral-ssh-key-pair-issue-7225
virtualbox: create ephemeral SSH key pair for build process
2019-03-04 14:25:04 -08:00
Arnaud Dezandee f9ae926d8f
googlecompute-export: set network project id to builder 2019-03-01 15:12:31 +01:00
Megan Marsh 3b6ff0fe3e
Merge pull request #7106 from hashicorp/revert_docker_changes
docker: user /bin/sh by default
2019-02-28 15:31:53 -08:00
Megan Marsh 424a6a3a7e
Merge pull request #6983 from hashicorp/revert-6979-revert-6925-organization_renaming
DONT MERGE YET: Revert "Revert "Rename attribute api_access_key to organization_id""
2019-02-28 15:30:25 -08:00
Megan Marsh d3ed89ab86
Merge pull request #6787 from hashicorp/nilable_encrypt
amazon: Nilable encrypt setting
2019-02-28 15:29:40 -08:00
Megan Marsh 09df6a733d cut release 1.3.5 2019-02-28 14:49:36 -08:00
Stephen Fox 094c87e395 Remove 'SSHPublicKeyUrlEncoded', use 'urlquery' instead.
Per code review feedback, the Go template library supports
encoding variables in URL query format. Instead of exposing
two different public key formats (unmodified string and a
URL encoded string), just have the user apply the 'urlquery'
modifier to their template.
2019-02-28 17:06:51 -05:00
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
to retain current encryption settings

this changes the fields :
* ami_config.encrypt_boot
* block_device.encrypted

This also removes StepCreateEncryptedAMICopy as this step is now done in StepAMIRegionCopy
2019-02-27 11:17:56 +01:00
Megan Marsh b8510f35fc
Merge pull request #7330 from hashicorp/except_post_processor_tests
name a post-processor to it's type when it is not named
2019-02-26 09:26:17 -08:00
Megan Marsh 134cf3a141 update gemfile to fix vulnerability in bootstrap-saas dependency 2019-02-25 12:58:35 -08:00
Megan Marsh 05897c8653
Merge pull request #7294 from hyperonecom/hyperone
Add HyperOne builder
2019-02-25 08:30:04 -08:00
Adrien Delorme 3cda840504
Merge pull request #7329 from lrxcy/fix_190220
add Endpoints Description
2019-02-25 09:02:32 +01:00
Miłosz Smółka 94a7a07c87 Merge branch 'master' into hyperone 2019-02-24 15:16:21 +01:00
lrxcy ab939989ea fix some typos 2019-02-23 14:03:48 +08:00
Adrien Delorme 4da79a8837
Merge pull request #7333 from pop/patch-2
Update vsphere+vsphere-template array pairing docs
2019-02-22 10:59:32 +01:00
Megan Marsh 440f1f5f3c
Merge pull request #7317 from hashicorp/pause_before_connecting
add a configurable pause before step_connect to work around bootstrap…
2019-02-21 11:59:47 -08:00
Elijah Caine M. Voigt 472b5ba710
Update vsphere+vsphere-template array pairing docs
The example and description of pairing `vsphere` and `vsphere-template` in a JSON array is accurate but ought to be more spelled out.
This introduces a change which makes that part of the example and docs more verbose, hopefully mitigating potential confusion.
2019-02-21 10:51:48 -08:00