138 Commits

Author SHA1 Message Date
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
23a5c472aa
remove sidebar_current from front matter 2020-04-07 17:53:25 -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
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
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
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
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