Commit Graph

3823 Commits

Author SHA1 Message Date
Svetlin Zamfirov b706f02408 Fixing auto-generated code errors 2020-04-16 16:22:42 -07:00
Svetlin Zamfirov 31f0b0201a Remove changes from auto-generated code 2020-04-16 16:22:41 -07:00
Svetlin Zamfirov d827f4f757 Adding custom shielded images support (GCP)
Adds `enable_secure_boot`, `enable_vtpm` and `enable_integrity_monitoring`
config options to enable building of custom Shielded GCP Compute images.

Feedback on this is more than welcome as this is my first attempt in
contributing to anything Packer related.

Packer is great for us to build custom images on top of GCP but we would
like to enhance that to support Shielded VM images. This will allow us
to have more secure and trusted images which our team(s) will be using.
2020-04-16 16:22:41 -07:00
Megan Marsh 08787ba31f
Merge pull request #9028 from vijayrajah/set_azure_custom_res_names
Set Custom Resource Names for Azure-Arm builds
2020-04-16 15:58:41 -07:00
Adrien Delorme 73242e8de4 make sure keyvalue and namevalue filters are using the same naming as the service being used 2020-04-16 17:22:13 +02:00
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061) 2020-04-16 11:58:54 +02:00
Gerhard Lausser dc2813c8e2 feat(proxmox): add ability to add a cloud-init drive 2020-04-15 22:00:42 +02:00
Thor K. Høgås ebfc5bcdcb
Merge branch 'master' into feature/vgpu-profiles 2020-04-15 12:02:37 +02:00
Vladislav Rassokhin 5f2849b5b4 builder/vsphere-clone: support firmware changing 2020-04-14 10:28:43 -07:00
Vladislav Rassokhin 91a1ad63fa builder/vsphere-iso: support EFI Secure Boot using another value in `firmware` (#8873) 2020-04-14 10:28:22 -07:00
Wilken Rivera 9eccbb4cfe docs/getting-started: Update PATH install instructions 2020-04-14 06:46:29 -04:00
Joshua Foster 7f0dbdebb2 clean up documentation for new NIC and storage params
adding examples, updating .gitattributes so *.mdx files have LF endings for windows
2020-04-13 14:28:50 -04:00
Marc Carmier a1d14c75f4
Update vsphere documentation with link to the `vsphere-iso` builder (#9041) 2020-04-10 13:03:55 -04:00
Paul Meyer df47fd5076
Merge pull request #9021 from paulmey/azure-chroot-shared-image-destination
[azure/chroot] Add azure-chroot shared image destination
2020-04-09 14:42:13 -07:00
Vijay Rajah 9209826bfe Update the doc with more info 2020-04-10 00:34:56 +05:30
Megan Marsh 73c349d09c
Merge pull request #8908 from hashicorp/fix_4795
provisioner/powershell: Add cleanup step to remove any temporarily created scripts
2020-04-09 08:56:19 -07:00
Adrien Delorme 2af40c762b
HCL2: pass on builder type and name (#8956)
* sets `packer_build_name` and `packer_builder_type` variables for builder provisioners and post-processors in HCL2
* allows to use the new `${source.type}` and `${source.name}` variables in HCL2
* fixes #8932 

Note that the common.PackerConfig is used everywhere and was not set for HCL2, this had some implications: 

For #8923 you can see the issue here:

dde74232f2/builder/lxd/config.go (L61-L63)

More random examples of where this could cause an issue :

0785c2f6fc/provisioner/ansible-local/provisioner.go (L380-L381)

b4efd13a4d/builder/amazon/ebs/builder.go (L232-L236)



* [All references to PackerConfig.PackerBuildName](https://sourcegraph.com/github.com/hashicorp/packer@ff6a039d5bb45e34ff761d9c52e8b98972288447/-/blob/common/packer_config.go#L7:2&tab=references)

* [All references to PackerConfig.PackerBuilderType](https://sourcegraph.com/github.com/hashicorp/packer@ff6a039d5bb45e34ff761d9c52e8b98972288447/-/blob/common/packer_config.go#L8:2&tab=references)
2020-04-09 11:14:37 +02:00
Megan Marsh a48c0ecf49 update docs for headless to help users know they may need to launch the gui 2020-04-08 13:53:19 -07:00
Vijay Rajah 1e66a1b355 Fix linting & code generation 2020-04-09 00:00:13 +05:30
Thor K. H 2a40f471b7 Add vgpu_profile support for using GRID vGPUs
It hooks directly into Configure, common for both vsphere-clone and
vsphere-iso.
Note that acceptance tests are still missing.
2020-04-08 17:11:14 +02:00
Wilken Rivera 4a46d6ff7b docs/provisioner/powershell: Add documentation for `skip_clean` option 2020-04-08 10:23:15 -04:00
Megan Marsh 346dcae78e make generate 2020-04-07 17:01:23 -07:00
Paul Meyer 5c89d22fa2 generated & docs 2020-04-07 23:05:09 +00:00
Jeff Escalante cb298c8c90
linkcheck correction 2020-04-07 17:53:26 -04:00
Jeff Escalante 81b08898ba
update generated pages after rebase 2020-04-07 17:53:26 -04:00
Jeff Escalante e5a6363f95
update deps, fix one-off pages 2020-04-07 17:53:26 -04:00
Jeff Escalante c0b511f682
new footer 2020-04-07 17:53:25 -04:00
Jeff Escalante f3a728abb2
remove unneeded file 2020-04-07 17:53:25 -04:00
Jeff Escalante 9d62c8b5a5
remove scripts 2020-04-07 17:53:25 -04:00
Jeff Escalante 23a5c472aa
remove sidebar_current from front matter 2020-04-07 17:53:25 -04:00
Jeff Escalante bac9821016
remove lingering source files 2020-04-07 17:53:24 -04:00
Jeff Escalante 5719a0a806
add redirects section to readme 2020-04-07 17:53:24 -04:00
Jeff Escalante ce95bb1d70
fix newly added partial paths 2020-04-07 17:53:23 -04:00
Jeff Escalante 20e8481a7c
add new generated partials after rebase 2020-04-07 17:53:23 -04:00
Jeff Escalante ccdb8ee62f
add docker config 2020-04-07 17:53:23 -04:00
Jeff Escalante 860434141e
patch dollar sign escaping issue 2020-04-07 17:53:23 -04:00
Jeff Escalante 6798b73305
revert prettier formatting on generated partials 2020-04-07 17:53:22 -04:00
Jeff Escalante 2999934326
fix generation script, bugfixes in source comments, update website paths in primary codebase 2020-04-07 17:53:22 -04:00
Jeff Escalante 7555536f7a
a couple more broken links 2020-04-07 17:53:21 -04:00
Jeff Escalante 18511bab05
bunch more broken link fixes 2020-04-07 17:53:21 -04:00
Jeff Escalante af257c2bb9
fix all local relative links 2020-04-07 17:50:53 -04:00
Jeff Escalante bdd9f5bd08
another redirect fix 2020-04-07 17:50:52 -04:00
Jeff Escalante 20d3a2027f
attempted redirects fix 2020-04-07 17:50:52 -04:00
Jeff Escalante 76b9b83721
update permalink styles, small homepage fix 2020-04-07 17:50:52 -04:00
Jeff Escalante 090df9c2b6
code block language cleanup 2020-04-07 17:50:52 -04:00
Jeff Escalante 23aba814e1
update to 1.5.5 2020-04-07 17:50:51 -04:00
Jeff Escalante 3f3e0f752c
add packer segment key 2020-04-07 17:50:51 -04:00
Jeff Escalante 55df737179
add bugsnag tokens 2020-04-07 17:50:51 -04:00
Jeff Escalante 4afd107eeb
patch source files for extensions changes 2020-04-07 17:50:51 -04:00
Jeff Escalante d626cedd45
remove unnecessary .html extensions 2020-04-07 17:50:51 -04:00
Jeff Escalante 86b6a4562b
update deps, remove internal index.html's 2020-04-07 17:50:50 -04:00
Jeff Escalante 8ca9f2a58c
add community page css 2020-04-07 17:50:50 -04:00
Jeff Escalante 8d917b6f77
patch a couple small bugs 2020-04-07 17:50:50 -04:00
Jeff Escalante 899c0fd8a9
homepage 2020-04-07 17:50:50 -04:00
Jeff Escalante f48529e6ff
a variety of markdown fixes 2020-04-07 17:50:49 -04:00
Jeff Escalante db48bf7d58
adjust builder nesting paths 2020-04-07 17:50:49 -04:00
Jeff Escalante 68e1ea2296
clean up html links 2020-04-07 17:50:49 -04:00
Jeff Escalante 5bebcb097c
update deps 2020-04-07 17:50:49 -04:00
Jeff Escalante ace31df874
docs pages navigation 2020-04-07 17:50:49 -04:00
Jeff Escalante 02e297b034
guides section nav 2020-04-07 17:50:48 -04:00
Jeff Escalante 2330936035
further intro cleanup 2020-04-07 17:50:47 -04:00
Jeff Escalante a159d6f9b3
intro nav 2020-04-07 17:50:47 -04:00
Jeff Escalante bcc848a83d
were rendering yay 2020-04-07 17:50:47 -04:00
Jeff Escalante 92d4553890
initial port 2020-04-07 17:50:46 -04:00
Adrien Delorme 3345c85b23 Document Block-type-specific Exceptions in HCL2 json 2020-04-06 16:14:27 +02:00
Megan Marsh b804e5a8f5
Merge pull request #8987 from VaijanathB/azure-devtestlabs-take2
Building Azure devtestlabs Images using Packer - update
2020-04-03 11:14:31 -07:00
Megan Marsh 8840b4a830
Merge pull request #8625 from hashicorp/remove_ansible_proxy
Remove ansible proxy
2020-04-03 09:23:10 -07:00
Megan Marsh a5b0f53fa4
Update website/source/docs/provisioners/ansible.html.md.erb
Co-Authored-By: Wilken Rivera <dev@wilkenrivera.com>
2020-04-03 08:54:51 -07:00
Vaijanath Angadihiremath 20379c9eff Rebasing with origin/master and fixing issues 2020-04-02 18:15:08 -07:00
Vaijanath Angadihiremath b7d85b8a23 Added acceptance tests for DTL. Fixed couple of issues with DTL root resource group not set to new directory 2020-04-02 17:23:21 -07:00
Vaijanath Angadihiremath e726902116 Fixing the latest changes from the merge 2020-04-02 17:16:31 -07:00
Vaijanath Angadihiremath 645cdf1a59 Updating the modules to include update to autorest 12.4 2020-04-02 17:13:36 -07:00
Megan Marsh 0f9415297f
Merge pull request #8679 from kwibus/gcp-fallback-image
[WIP] fix #8589 gcp public fallback image
2020-04-02 16:49:50 -07:00
Megan Marsh 64b706983e docs and cleanup 2020-04-01 11:31:48 -07:00
Megan Marsh ca5814ab74 move proxy behind feature flag 2020-04-01 11:31:48 -07:00
Mike Wickett bb3f766983 website: update netlify redirect syntax 2020-04-01 13:15:46 -04:00
Megan Marsh 1963f3aa6f
Merge pull request #8893 from itzimourakas/feature7379
[WIP] Feature7379 - https://github.com/hashicorp/packer/issues/7379
2020-04-01 09:33:25 -07:00
Megan Marsh f909167524
add lucidone examplkes (#8965) 2020-03-30 10:05:55 +02:00
Megan Marsh 65b64d04d0 remove docs about windows symlinks which are now inaccurage 2020-03-26 15:51:51 -07:00
Megan Marsh 499eacd3d9 cut version 1.5.5 2020-03-25 16:02:40 -07:00
Sylvia Moss b17b211aa9
Add cleanup_remote_cache config option to vmware-iso (#8917) 2020-03-24 16:16:25 +01:00
Romain Lecat fcf10e9b7d
Replace Amazon with Outscale for OSC BSU doc (#8944) 2020-03-24 12:06:15 +01:00
Romain Lecat 9240fb7f0b
Fix typo in title (#8943) 2020-03-24 11:42:31 +01:00
Jorge Marey 2c6f0968b3
Allow accepting image for the members in OpenStack builder (#8931)
* Allow accepting image for the members in OS builder

* Add more documentation to image_auto_accept_members parameter
2020-03-23 17:07:00 -04:00
Ilias Tzimourakas dadf1ef16d
Update oracle-oci.html.md
Updated documentation
2020-03-23 14:47:21 +00:00
Jeff Mixon e78dfdddd1 feat(proxmox): add onboot directive support
Closes #8934
2020-03-22 17:25:48 -07:00
Robert Hencke 97d797d2f4
Fix small typos in osc-bsuvolume.html.md (#8926) 2020-03-20 14:50:38 +01:00
Wilken Rivera a7c5daf80d vsphere/iso: Add support for ovf export options
* Fix generated documentation for the additional export options field
2020-03-19 14:46:30 -04:00
Megan Marsh 56aebbeda9
Merge pull request #8920 from rhencke/patch-1
Fix small typo in amazon-ebsvolume.html.md.erb
2020-03-19 11:34:54 -07:00
jhawk28 99b0b98311
Add ovf export capability to vsphere builders (#8764)
* add ovf export capability to vsphere builders

* remove unneeded floppy ejection

* add prepare step for export. updated output directory to be the actual destination directory

* add step export documentation

* add extra export options

* add ui messages for export step

Co-authored-by: Megan Marsh <megan@hashicorp.com>
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-03-19 13:51:43 -04:00
Robert Hencke ba43b20d5a
Fix small typo in amazon-ebsvolume.html.md.erb 2020-03-19 13:35:51 -04:00
Megan Marsh a21fa2d7cf add small warning about sysprep to the docs 2020-03-18 14:15:29 -07:00
Megan Marsh 23f56036a4
Merge pull request #8889 from hashicorp/hcl2_singular_blocks
Hcl2 singular blocks
2020-03-17 12:39:04 -07:00
Adrien Delorme 78ac1e256b better type for []NameValue in docs 2020-03-17 15:02:04 +01:00
Adrien Delorme 88297c796d Merge branch 'master' into hcl2_singular_blocks 2020-03-17 14:47:17 +01:00
Adrien Delorme 0a46bb9525 more precise docs 2020-03-17 11:50:16 +01:00
Adrien Delorme 911dc5ad95 wip 2020-03-17 11:33:11 +01:00
Adrien Delorme b5e8750f5f Change key/value to name/value to remain consistent with Terraform 2020-03-17 11:23:11 +01:00
Jeff Mixon e503afb9da feat(proxmox): add ability to specific vga adapter
Resolves #8867
2020-03-16 15:58:46 -07:00
Adrien Delorme d532bb376c wip 2020-03-16 17:47:44 +01:00