Megan Marsh
2c89d086dc
typo in docs
2020-06-05 12:44:32 -07:00
Megan Marsh
8b9ed084b2
Merge pull request #9365 from hashicorp/except_only_block_hcl_docs
...
Update Provisioners and Post-Processor block HCL2 docs
2020-06-05 12:44:10 -07:00
Megan Marsh
7fcd702b45
Merge pull request #9358 from jhawk28/bug_9349
...
(vsphere-iso) add the ability to check if the IP is within the an IP range
2020-06-05 12:18:51 -07:00
Wilken Rivera
f672f5bd9b
command/validate: Add support for HCL2 configuration files
...
* Update validate command to use FixConfig for checking against known
fixers
* Update validation command flag docs
* Add ConfigFixer method to PackerHandler Interface
* Implement ConfigFixer interface in PackerConfig
* Remove all stdout messaging (i.e calls to c.Ui.Say) in the validate
command. The command will only display hcl.Diagnotic messaging when there is an error or warning.
HCL2 Configs
```
⇶ packer validate docker_centos_shell_provisioner.pkr.hcl
```
JSON Configs
```
⇶ packer validate vmware-iso_ubuntu_minimal/vmware-iso_ubuntu_minimal.json
Error: Failed to prepare build: "vmware-iso"
1 error occurred:
* Deprecated configuration key: 'iso_checksum_type'. Please call `packer fix`
against your template to update your template to be compatable with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
Warning: Fixable configuration found.
You may need to run `packer fix` to get your build to run correctly.
See debug log for more information.
map[string]interface{}{
"builders": []interface{}{
map[string]interface{}{
... // 3 identical entries
"guest_os_type": string("ubuntu-64"),
"http_directory": string("http"),
- "iso_checksum":
string("946a6077af6f5f95a51f82fdc44051c7aa19f9cfc5f737954845a6050543d7c2"),
+ "iso_checksum":
string("sha256:946a6077af6f5f95a51f82fdc44051c7aa19f9cfc5f737954845a6050543d7c2"),
- "iso_checksum_type": string("sha256"),
"iso_url":
string("http://old-releases.ubuntu.com/releases/14.04.1/ubuntu-14.04.1-server-amd64.iso "),
"shutdown_command": string("echo 'vagrant' | sudo -S shutdown -P now"),
... // 4 identical entries
},
},
}
```
2020-06-05 14:24:39 -04:00
Jeremiah Snapp
3f2b8587b1
Replace regexreplace docs typo with regex_replace
...
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2020-06-05 13:17:18 -04:00
Jeremiah Snapp
3b9a0427cd
Add template_dir function to HCL
...
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2020-06-05 13:14:36 -04:00
Jeremiah Snapp
2800043149
Add pwd function to HCL
...
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2020-06-05 13:14:03 -04:00
Adrien Delorme
bac9c74447
packer console for HCL2 ( #9359 )
2020-06-05 17:23:54 +02:00
Moss
112638da01
Add ToolSyncTime and ToolUpgradePolicy to vSphere
2020-06-05 17:20:44 +02:00
Moss
110b1411d7
Update provisioners and post-processor hcl2 docs
2020-06-05 15:49:09 +02:00
Wilken Rivera
fd0764d668
docs/builder/azure-arm: Add shared_image_gallery to Azure builder options section ( #9364 )
2020-06-05 11:49:48 +02:00
Sylvia Moss
1422085ede
Validate host and network when looking for network ( #9361 )
2020-06-05 11:01:58 +02:00
Joshua Foster
90463e5394
make default for wait address to be any ipv4 address. add some better documentation
2020-06-04 23:13:46 -04:00
Joshua Foster
27a1ceef6d
add example for any ipv4 address
2020-06-04 12:15:53 -04:00
Joshua Foster
1fb22a7b7b
add the ability to check if the IP is within the an IP range
2020-06-04 01:55:25 -04:00
Joshua Foster
d35f342319
add the ability to configure the http bind address. defaults to 0.0.0.0.
2020-06-03 16:40:18 -07:00
Megan Marsh
02590f6c44
Merge pull request #9329 from hashicorp/je.website-maintenance-5-29-20
...
🌷 Website Spring Maintenance
2020-06-03 16:25:23 -07:00
Paul Meyer
e260212be3
Merge pull request #9323 [azure-chroot] copy data disks between shared image galleries
...
[azure-chroot] copy data disks between shared image galleries
2020-06-03 12:32:19 -07:00
Jeff Escalante
f4d7b5f493
fix some stuff
2020-06-02 17:22:40 -04:00
Megan Marsh
19ae0ecf4c
Merge pull request #9245 from AdrienneCohea/master
...
Support named builds in HCL2 templates
2020-06-02 11:42:14 -07:00
Wei Cheng
e0cfb404fb
builder/googlecompute: add support to specify storage location for GCP images ( #9326 )
...
* feat: add support to specify storage location for GCP images
Signed-off-by: Wei Cheng <calvinpohwc@gmail.com>
2020-06-02 13:42:33 -04:00
jhawk28
c9d0ede67a
add http and floppy to vsphere-iso docs. remove references to things … ( #9343 )
2020-06-02 17:48:11 +02:00
Adrien Delorme
52ba74e3c9
better docs
2020-06-02 16:33:32 +02:00
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
cbb7c88dc0
config keys note
2020-05-29 17:14:29 -04:00
Jeff Escalante
20172e185d
formatting fixes
2020-05-29 17:13:27 -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
Adrien Delorme
72f76cbc8e
document hcl2 blocks
2020-05-26 15:29:47 +02:00
Sylvia Moss
601d3638f6
add communicator config reference to hyperv docs ( #9289 )
2020-05-25 15:18:14 +02:00
Lukas Kämmerling
26d309c88c
Clarify the correct usage of the snapshot_name field on the hcloud builder ( #9276 )
2020-05-25 14:52:13 +02:00
jmarcelletti
67df9f778a
Update index.mdx ( #9278 )
...
Unclosed quotes kill builds
2020-05-25 11:18:03 +02:00
Feiyu Shi
3e3fdaa24e
make generate
2020-05-24 19:05:45 -07:00
Rui Lopes
06fad6cc4f
qemu: add support for using a network bridge
2020-05-20 16:46:32 -07:00
Megan Marsh
b3ece95f27
Merge pull request #9254 from ad-m/hyperone-builder-hcl
...
HCL compliance for HyperOne builder
2020-05-20 13:15:21 -07:00
Megan Marsh
782342a707
Merge pull request #9202 from overdrive3000/improve-secrets-manager
...
Add support for specifying key to fetch from AWS Secrets Manager
2020-05-20 13:13:28 -07:00
Sylvia Moss
be9dbaacd7
Interpolate generatedData in the Inspec provisioner ( #9262 )
...
* Interpolate generatedData in the Inspec provisioner
* Add inspec license section to inspec docs
* add user arg if user config it not empty
* increase resource size for check-lint pipeline
* update changelog
* Update provisioner/inspec/provisioner.go
* Update provisioner/inspec/provisioner.go
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-05-20 15:43:41 -04:00
Megan Marsh
3c782e9d03
Merge pull request #9239 from hashicorp/enable_artifice
...
Add Artifice postprocessor ID to valid artifacts for postprocessors t…
2020-05-20 10:46:44 -07:00
Wilken Rivera
d3aa53c9da
docs/hcl2: Update HCL2 beta note link ( #9258 )
...
This change updates the Beta notes on the Packer docs site with a link
to the pinned HCL2 implementations list issue.
Closes #9175
2020-05-20 12:24:45 +02:00
Megan Marsh
a568ffce0a
generated
2020-05-19 16:54:03 -07:00
Megan Marsh
557eb015ea
make artifice post-processor play nicely with vagrant post-processor, including template validation., Update docs for each.
2020-05-19 15:52:12 -07:00
Megan Marsh
58b32ebefa
Merge pull request #9251 from hashicorp/fix_9249
...
builder/azure-arm: Update runtime constants with a valid DataDiskName
2020-05-19 11:00:44 -07:00
jhawk28
820f353573
(vsphere-iso) remove deprecated network and disk fields ( #9149 )
...
* remove deprecated network and disk fields
2020-05-19 10:06:12 -04:00
Juan Mesa
b73602eadd
Fix corrections
...
* Fix typos in comments.
* Add documentation of how to use multiple keys with `aws_secretsmanager` function.
* Move `Client` struct to `secretsmanager.go` file.
2020-05-19 13:16:28 +02:00
Sylvia Moss
1c30a71d09
Replace file shared state by statebag ( #9238 )
2020-05-19 11:49:48 +02:00
Adam Dobrawy
a3cba02c86
builder/hyperone: Add examples for HCL syntax
2020-05-19 01:20:25 +02:00
Wilken Rivera
c954831bb2
builder/azure-arm: Update runtime constants with a valid DataDiskName
...
This change fixes an issue where using the `disk_additional_size` configuration option would cause builds to fail.
Build results before the change
```
==> Builds finished but no artifacts were created.
Build 'azure-arm' errored: Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details." Details=[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code
\": \"InvalidParameter\",\r\n \"message\": \"The entity name 'dataDisk.name' is invalid according to its validation rule: ^[^_\\\\W][\\\\w-._]{0,79}(?\u003c![-.])$.\",\r\n \"target\": \"dataDisk.name\"\r\n }\r\n}"}]
```
Build results after change
```
Build 'azure-arm' finished.
==> Builds finished. The artifacts of successful builds are:
--> azure-arm: Azure.ResourceManagement.VMImage:
OSType: Linux
ManagedImageResourceGroupName: test-pkr
ManagedImageName: wilkenPacker9249
```
Closes #9249
2020-05-18 14:57:20 -04:00
Roger Berlind
fdca7175fc
replace clean_image_name with clean_resource_name
...
The change was mostly made except in one example for Google
2020-05-15 16:33:27 -04:00
Wilken Rivera
c5e38a2699
docs/amazon-ebssurrogate: Add Session Manager documentation ( #9236 )
2020-05-15 14:58:10 +02:00
Wilken Rivera
bcaf9f124f
docs/builder/amazon: Add Session Manager Connection documentation to supported builders
2020-05-14 15:17:22 -04:00
Megan Marsh
2661f7e0f1
Merge pull request #9229 from hashicorp/d-azure_arm-custom_managed_image_resource_update
...
docs/builder/azure-arm: Fix a small typo for the custom_managed_image_* config options
2020-05-14 11:54:33 -07:00
Megan Marsh
533fbc1381
Merge pull request #9139 from hashicorp/hcl2_commands_refactor
...
Hcl2 commands refactor
2020-05-14 11:16:12 -07:00
Wilken Rivera
f31f5bc61b
docs/builder/azure-arm: Fix a small typo for the custom_managed_image_* config options
...
Closes #9199
2020-05-14 13:31:40 -04:00
Evan Digby
e4eaff6bba
s/Directoty/Directory ( #9221 )
2020-05-14 15:00:27 +02:00
Adrien Delorme
a1bff83afb
Update Config-required.mdx
2020-05-13 16:22:46 +02:00
Adrien Delorme
a50c27c05d
single `
2020-05-13 15:51:18 +02:00
Adrien Delorme
c2d3e494b6
alicloud: better docs + autogenerated post processor docs
2020-05-13 15:49:34 +02:00
Christian Frichot
e2a02636bc
website: npm audit fix ( #9218 )
2020-05-13 13:49:19 +02:00
Kennith Leung
6a1737847d
Update vagrant.mdx ( #9215 )
...
If the `output_dir` is not set, the folder will be set to `output-` plus buildname.
2020-05-13 10:17:26 +02:00
Megan Marsh
2733109294
add generated docs
2020-05-08 15:58:36 -07:00
Megan Marsh
480c938162
generate virtualbox-vm docs instead of letting them be copy pasted
2020-05-08 15:58:36 -07:00
Megan Marsh
9476aa03de
Merge pull request #9105 from hashicorp/google_iap
...
Implement iap proxy for googlecompute
2020-05-08 12:40:42 -07:00
Megan Marsh
fcef10fd2f
Merge pull request #9082 from hashicorp/f-amazon_builder-ssm-session-tunnel-poc
...
builder/amazon: Add SSM Session Manager as a SSH interface connection
2020-05-08 12:40:03 -07:00
Megan Marsh
e6073bcec7
implement iap proxy for googlecompute. ssh-only so far
2020-05-08 10:13:42 -07:00
Megan Marsh
75e111d448
Merge pull request #9183 from hashicorp/docker_tags
...
Docker tags
2020-05-08 09:31:50 -07:00
Adrien Delorme
efcc6af06c
fix tests
2020-05-08 17:46:33 +02:00
Ryo Tagami
fdc73376ba
floppy_label Parameter for vsphere-iso Builder ( #9187 )
...
Add ability to specify `floppy_label` parameter for `vsphere-iso`
builder, which would be especially beneficial when someone wants to pass
information to cloud-init via floppy disk images.
Signed-off-by: Ryo Tagami <rtagami@airstrip.jp>
2020-05-08 16:13:54 +02:00
Wilken Rivera
89fb7bb080
Apply suggestions from code review
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-05-08 09:36:43 -04:00
Wilken Rivera
056f1f6e76
docs/amazon/builder: Add not about using a temporary_iam_instance_profile_policy_document
2020-05-08 09:32:54 -04:00
Wilken Rivera
7cea7466ba
buider/amazon: Add `session_manager_port` option for setting a custom local port
2020-05-08 09:32:54 -04:00
Wilken Rivera
81c40b8d08
Add section to docs about the session-manager-plugin tunnel
2020-05-08 09:32:49 -04:00
Wilken Rivera
0e7020189c
docs/amazon/ebs: Document Session Manager connectivity setup instructions
2020-05-08 09:32:48 -04:00
Wilken Rivera
e515aefee3
Add validation checks for session_manager
...
* Session manager connectivity only supported via SSH
* Session manager requires the use of an iam instance profile with system manager permissions
2020-05-08 09:32:48 -04:00
Wilken Rivera
fbffbd1899
docs/builder/amazon: Add short blurb for connecting via the AWS session_manager interface
2020-05-08 09:32:48 -04:00
Megan Marsh
7c13cc5744
swap out tag for tags since it's a list
...
add fixer for docker tag to tags change
2020-05-07 13:24:25 -07:00
Megan Marsh
49af617be3
Merge pull request #9179 from hashicorp/fix_9177
...
fix docs for video_ram to use correct units
2020-05-06 09:53:40 -07:00
Megan Marsh
279fbb45ab
Merge pull request #9174 from hashicorp/do_9145
...
output_filename virtualbox option.
2020-05-06 09:40:33 -07:00
Megan Marsh
9baf2edd94
fix docs for video_ram to use correct units
2020-05-06 09:39:41 -07:00
Megan Marsh
aa09c52059
generated docs
2020-05-06 09:23:15 -07:00
Megan Marsh
f0d2680426
remove spot_price_auto_product from docs ( #9173 )
2020-05-05 20:48:27 -04:00
Megan Marsh
6a682aca2e
Merge pull request #9124 from GennadySpb/yandex-export-post-processor
...
[WIP] Yandex export post processor
2020-05-05 11:01:13 -07:00
Wilken Rivera
18ce764b97
Merge pull request #9169 from sudomateo/docs/post-processor-vagrant-cloud
...
Note about box creation
2020-05-05 11:25:43 -04:00
Matthew Sanabria
fe233c1221
Note about box creation
...
The `vagrant-cloud` post-processor does not create the desired Vagrant
Cloud box for you. Packer assumes the Vagrant Cloud box already exists
and will only push new box versions for you. It is up to the user to
ensure the Vagrant Cloud box exists beforehand. This note should make it
clear to users that Packer does not create the box.
2020-05-05 11:12:45 -04:00
Kyle MacDonald
f0840f55d0
website: add urls to homepage buttons ( #9152 )
2020-05-01 21:25:22 -04:00
Megan Marsh
991511d08a
cut release 1.5.6
2020-05-01 14:11:35 -07:00
Nicolas Quiniou-Briand
f115784a72
Update example for docker-push (tags) ( #9144 )
...
* remove useless comment
-var-file allow an HCL file
* [docs] tag should be comma-separated
2020-05-01 12:48:25 +02:00
Megan Marsh
3f8ee2b426
add exported files to VSphere artifact ( #9020 )
...
* add exported files to VSphere artifact
* clean up grammar for vsphere template docs
* add to vsphere clone
2020-04-30 15:22:57 -04:00
Rui Lopes
86ac132056
hyperv: add support for setting the boot order ( #9046 )
2020-04-30 13:31:41 +02:00
Nicolas Quiniou-Briand
5eb4620602
[docs] add missing extension ( #9132 )
2020-04-30 10:52:10 +02:00
Megan Marsh
30061b3def
Merge pull request #9095 from VladRassokhin/vsphere-disable-shutdown
...
Add disable_shutdown option to VSphere builders
2020-04-29 15:18:24 -07:00
Megan Marsh
2a560a517e
Merge pull request #8946 from thor/feature/vgpu-profiles
...
Add support for specifying vGPU profiles
2020-04-29 13:27:19 -07:00
Megan Marsh
a88b5dfe7b
fix documentation for docker tag pp
2020-04-29 12:14:49 -07:00
Vladislav Rassokhin
03c4bebf00
Add disable_shutdown option to VSphere builders
...
Also don't try to shut down VM if it's already off, otherwise VSphere would raise an error: "The attempted operation cannot be performed in the current state (Powered off)."
2020-04-29 14:19:43 +03:00
Adrien Delorme
e4df3b262b
HCL2: docs warn about the fact that HCL2 support is still Beta at the top of each docs page ( #9113 )
2020-04-28 11:37:50 +02:00
Gennady Lipenkov
2658d58507
Fixes
2020-04-27 10:12:41 +03:00
Gennady Lipenkov
17a5b5db24
Add docs and nav reference
2020-04-27 02:21:13 +03:00
Jeff Escalante
034160ca2e
update dependencies ( #9111 )
2020-04-24 10:26:36 +02:00
Paul Meyer
26d768f429
[builder/azure-chroot] Shared image source ( #9070 )
2020-04-23 11:03:17 +02:00
Adrien Delorme
da4a5224be
HCL2 singular blocks: use key/value or name/value depending on how the service names things ( #9078 )
...
* make sure keyvalue and namevalue filters are using the same naming as the service being used
* make docs a bit more readable for KeyValues too
* Update website/pages/docs/from-1.5/expressions.mdx
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-04-23 10:46:49 +02:00
Adrien Delorme
304f615bc3
Update website/pages/docs/from-1.5/expressions.mdx
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2020-04-23 10:46:19 +02:00
Juan Mesa
0fca4a8ba8
Add template function aws_secretsmanager
...
Allow users to read secrets from AWS Secrets Manager via
packer template functions
2020-04-21 18:37:29 +02:00
Adrien Delorme
c5c3585df1
make docs a bit more readable for KeyValues too
2020-04-21 12:22:37 +02:00
Matthew Sanabria
761abdda4e
Updating documentation for azure-arm builder ( #9097 )
2020-04-21 10:47:48 +02:00
GennadySpb
1155ab8e3c
Add 'target_image_folder_id' for builder/yandex ( #9080 )
...
Add 'target_image_folder_id' for builder/yandex
Closes #9079
2020-04-20 15:20:05 +02:00
vijayrajah
5d2fee04b2
builder/azure: enable boot Diagnostics ( #9053 )
...
* enable boot Diagnostics
2020-04-20 07:29:13 -04:00
Wilken Rivera
cc367bd0b7
Merge pull request #9045 from lausser/cloud-init
...
feat(proxmox): add ability to add a cloud-init drive
2020-04-17 14:09:02 -04:00
Matt Kotsenas
fe55494207
Add `debug_mode` to PowerShell provisioner ( #8996 )
2020-04-17 11:39:39 +02:00
Megan Marsh
855808ec6f
Merge pull request #8970 from szamfirov/shielded_vm_support
...
Adding custom shielded images support (GCP)
2020-04-16 16:32:04 -07:00
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