Page MenuHomeVyOS Platform

Unable to build qemu
Closed, InvalidPublicBUG


An error occurred when building the qemu image from vyos-build, prompting:

qemu-image output will be in this color.

1 error(s) occurred:

* The iso_checksum_type must be specified.

After investigation, it may be that the scripts/packer.json file is configured incorrectly, and the ʻiso_checksum_type` parameter is missing (I don’t know if it is related to the version, this is the case for local testing)

Local packer package version: 1.3.4

The modified diff is as follows:

diff --git a/scripts/packer.json b/scripts/packer.json
index 53b6a1c..e65463e 100644
--- a/scripts/packer.json
+++ b/scripts/packer.json
@@ -2,6 +2,7 @@
   "variables": {
     "iso_url": "{{env `ISO_IMAGE`}}",
     "iso_checksum": "{{env `ISO_MD5_SUM`}}",
+    "iso_checksum_type": "md5",
     "output_directory": "{{env `PACKER_BUILD_DIR`}}"
@@ -10,7 +11,8 @@
       "name": "qemu-image",
       "type": "qemu",
       "iso_url": "{{user `iso_url`}}",
-      "iso_checksum": "md5:{{user `iso_checksum`}}",
+      "iso_checksum_type": "{{user `iso_checksum_type`}}",
+      "iso_checksum": "{{user `iso_checksum`}}",
       "output_directory": "{{user `output_directory`}}/qemu",
       "shutdown_command": "sudo halt -p",
       "disk_size": 4096,


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

jack9603301 updated the task description. (Show Details)
c-po added a subscriber: c-po.Sat, Oct 17, 11:37 AM

This will break builds in out Docker environment where we ship a packer version. See T2792 and

c-po closed this task as Invalid.Sat, Oct 17, 11:37 AM

Must this command be executed from docker now?