packer/alpine-linux: remove iso_checksum_type and packer version requirement

Even in packer 1.5.6, the checksum validation works fine without explicitly
specifing the checksum type, probably using the go-getter length-based
autodetection mentioned in the docs. As such, specifying iso_checksum_type only
prevents building in packer >=1.6.0.
This commit is contained in:
Gianluca Merlo 2022-11-21 23:51:01 +01:00
parent c966d92ab0
commit e27dd3302c
2 changed files with 0 additions and 10 deletions

View File

@ -6,15 +6,6 @@ For building an Alpine appliance.
https://alpinelinux.org/
Packer Version Dependency
*************************
Packer versions 1.6.0 or later do not accept templates
that use the ``iso_checksum_type`` attribute.
To use these newer versions, you must delete the line
containing ``iso_checksum_type`` from alpine.json.
Alpine CLI installation
***********************

View File

@ -13,7 +13,6 @@
"type": "qemu",
"iso_url": "{{user `iso_url`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "sha256",
"shutdown_command": "poweroff",
"headless": true,
"ssh_username": "root",