230 Commits

Author SHA1 Message Date
Adrien Delorme
1147ef9a36
Merge pull request #9291 from hashicorp/f-singular-build-source-blocks
Allow to set source fields from a new `build.source` block
2020-06-02 12:38:45 +02:00
Adrien Delorme
83b3eb3be2 better words on the hcl2 merge 2020-06-02 12:35:32 +02:00
Adrien Delorme
e2b620677c Update example-block.mdx 2020-06-02 12:25:16 +02:00
Adrien Delorme
b075ae47d7 Update assignment.mdx 2020-06-02 12:17:46 +02:00
Adrien Delorme
80885fd410
Update website/pages/docs/from-1.5/blocks/variable.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 12:13:50 +02:00
Adrien Delorme
935ac55d24 more examples for the source block 2020-06-02 12:11:55 +02:00
Adrien Delorme
9a22e85e91 Update source.mdx 2020-06-02 12:01:49 +02:00
Adrien Delorme
171809b033 Update source.mdx 2020-06-02 12:01:21 +02:00
Adrien Delorme
7a113c0985 Merge branch 'f-singular-build-source-blocks' of ssh://github.com/hashicorp/packer into f-singular-build-source-blocks 2020-06-02 11:58:52 +02:00
Adrien Delorme
022ed5b29e Update assignment.mdx 2020-06-02 11:58:48 +02:00
Adrien Delorme
3640bd9f01
Update website/pages/docs/from-1.5/blocks/variable.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:58:01 +02:00
Adrien Delorme
4349a55e61 Explain that input values can be used in locals from example locals block 2020-06-02 11:57:32 +02:00
Sylvia Moss
ce45a1990a
Refactor communicator config for Qemu and add SkipNatMapping option (#9307) 2020-06-02 11:56:36 +02:00
Adrien Delorme
ffcf073007 Update source.mdx
remove double space
2020-06-02 11:53:14 +02:00
Adrien Delorme
5c6e4e47d7
Update website/pages/docs/from-1.5/blocks/variable.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:51:33 +02:00
Adrien Delorme
7c3cc995a9
Update website/pages/docs/from-1.5/blocks/source.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:51:19 +02:00
Adrien Delorme
456b0fa0a4
Update website/pages/docs/from-1.5/blocks/source.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:46 +02:00
Adrien Delorme
f4c393097a
Update website/pages/docs/from-1.5/blocks/source.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:28 +02:00
Adrien Delorme
5cee17ca5f
Update website/pages/docs/from-1.5/blocks/locals.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:17 +02:00
Adrien Delorme
279f9365af
Update website/pages/docs/from-1.5/blocks/index.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:00 +02:00
Adrien Delorme
e2090dafd4
Update website/pages/docs/from-1.5/blocks/build/source.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:49:40 +02:00
Adrien Delorme
9ef3020bd5
Update website/pages/docs/from-1.5/blocks/build/index.mdx
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:49:14 +02:00
Conlan
0ca418d656
Fix typo in Ansible Provisioner Docs 2020-06-01 09:53:54 -04:00
Megan Marsh
5efb1a195e update docs for configuration_paramaters to explain what it actually is. 2020-05-29 15:07:34 -07:00
Jeff Escalante
3a55b92733
regenerate partials 2020-05-29 17:33:35 -04:00
Jeff Escalante
700d9e4710
azure chroot partial fixes 2020-05-29 17:17:23 -04:00
Jeff Escalante
66c34f5110
shell snippet fixes, nextjs-scripts upgrades 2020-05-29 17:12:05 -04:00
Jeff Escalante
87f38e84ef
improve readme with blocks, trim down dependencies 2020-05-29 16:37:50 -04:00
Megan Marsh
184dc6cc44
Merge pull request #9260 from hashicorp/fix_9256
make package_include match output_vagrantfile parsing and abspath cal…
2020-05-29 10:41:26 -07:00
Paul Meyer
2288ab3b53 fix typo 2020-05-29 04:15:53 +00:00
Feiyu Shi
f86f5b958a Merge remote-tracking branch 'origin/master' into identity 2020-05-28 19:03:44 -07:00
Paul Meyer
af96cf7881 Generated files 2020-05-28 23:38:14 +00:00
Paul Meyer
c9284d03aa Add config for data disk/snapshot naming 2020-05-28 23:37:38 +00:00
Baptiste Lafontaine
553d2a7d0b
The prefix for local is "local." (and not ".local") (#9317) 2020-05-28 17:21:49 +02:00
Adrien Delorme
324367b808 Update variable.mdx 2020-05-28 17:09:57 +02:00
Adrien Delorme
95d37ffc06 add headers 2020-05-28 17:04:34 +02:00
Adrien Delorme
12c168b2d1 better docs 2020-05-28 16:49:54 +02:00
Adrien Delorme
beceb90844 better docs 2020-05-28 16:22:07 +02:00
Adrien Delorme
11104af3a2 website/pages/docs/from-1.5/blocks/build/index.mdx: better docs arround source(s) 2020-05-28 16:16:59 +02:00
Adrien Delorme
0fa60c68fb
Drop the iso_checksum_type & iso_checksum_url fields (#8437)
* Drop the iso_checksum_type & iso_checksum_url fields

In favor of simply using iso_checksum that will know what to do.

* fix after master merge

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* remove checksum lowercasing tests

* Update builder_test.go

* Update builder_test.go

* better docs

* Update builder_test.go

* even better docs

* Update config.go

* Update builder_test.go

* Update step_create_vmx_test.go

* make generate

* better docs

* fix imports

* up tests

* Update _ISOConfig-required.html.md

* Update builder_test.go

* don't use sha1.Sum("none") as a caching path

* Update builder_test.go

* better docs

* Update iso_config_test.go

remove ISOChecksumType/ISOChecksumURL references

* Update step_download_test.go

* add iso_checksum_url and iso_checksum_type fixers + tests

* add concrete examples of checksum values

* add examples of checksumming from local file

* update go-getter dep

* up deps

* use new go-getter version

* up ESX5Driver.VerifyChecksum: use go-getter's checksumming

* ISOConfig.Prepare: get checksum there in case we need it as a string in ESX5Driver.VerifyChecksum

* Update iso_config.go

* get go-getter from v2 branch

* Update driver_esx5.go

add more comments

* Update driver_esx5.go

* show better error message when the checksum is invalid

* Update builder_test.go

put in a valid checksum to fix tests, checksum is md5("packer")

* Update builder_test.go

test invalid and valid checksum

* more test updating

* fix default md5 string to be a valid md5

* TestChecksumFileNameMixedCaseBug: use 'file:' prefix for file checksumming

* Update iso_config_test.go

* Update iso_config_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update go.mod

* Update go.mod

* Update CHANGELOG.md
2020-05-28 11:02:09 +02:00
Adrien Delorme
b805a01e1a
Update website/pages/docs/from-1.5/blocks/build/provisioner.mdx
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-05-28 10:45:24 +02:00
Megan Marsh
d3859cf592
Merge pull request #9305 from hashicorp/azr-docs-fix-guide
HCL2: Update guide example to fix broken example
2020-05-27 16:04:31 -07:00
Joshua Foster
43714049e8 add set_host_for_datastore_uploads flag 2020-05-27 15:00:08 -07:00
Adrien Delorme
851b354ac9 more fixes 2020-05-27 16:51:44 +02:00
Adrien Delorme
4d8a5e1c72
Update from-json-v1.mdx 2020-05-27 16:40:47 +02:00
Megan Marsh
01839e272e
Merge pull request #9277 from nitrocode/add-source-ami-creation-date
Added SourceAMICreationDate
2020-05-26 12:24:47 -07:00
nitrocode
6d29ec956b Added SourceAMICreationDate 2020-05-26 15:04:03 -04:00
Alexandra Freeman
3e7d0a5388
Update index.jsx (#9263)
Updating Community resources to move Forum to the top, remove IRC and update language for general help. These changes are to align with other .io sites, and the initiative to point the community to a consolidated location (Discuss Forum). 


Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-05-26 10:35:04 -04:00
Adrien Delorme
397a08b32d Update locals.mdx 2020-05-26 15:54:15 +02:00
Adrien Delorme
2b8d6991d9 better 'related' sections for source and locals blocks 2020-05-26 15:46:02 +02:00