# md5sum.txt is missing in the latest vyos nightly build vyos-2025.05.04-0021-rolling-generic-amd64 (?)

When I try to create a vyos cloud init image for pve on an ubuntu 24.04.01 by using the following commands:


curl -Lo /tmp/vyos.iso $(curl -s https://api.github.com/repos/vyos/vyos-nightly-build/releases/latest | jq -r '.assets[].browser_download_url' | grep -iE '.iso$')

sudo chown root:root /tmp/vyos.iso

cd vyos-vm-images

sudo ansible-playbook qemu.yml -e disk_size=10 -e iso_local=/tmp/vyos.iso -e grub_console=serial -e vyos_version=1.5.0 -e cloud_init=true -e cloud_init_ds=NoCloud

then I get:

fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["md5sum", "-c", "md5sum.txt"], "delta": "0:00:00.002383", "end": "2025-05-04 00:21:49.264751", "msg": "non-zero return code", "rc": 1, "start": "2025-05-04 00:21:49.262368", "stderr": "md5sum: md5sum.txt: No such file or directory", "stderr_lines": ["md5sum: md5sum.txt: No such file or directory"], "stdout": "", "stdout_lines": []}

So it seemed to me, that the md5sum.txt is missing in the latest vyos nightly build.
I tested this hypothesis, by skipping the curl command after putting an older vyos version (vyos-2025.04.25-0019-rolling-generic-amd64) as vyos.iso into /tmp. This worked without any problem. (I also downloaded the latest vyos version (vyos-2025.05.04-0021-rolling-generic-amd64) via browser, without using the curl command, and put it into /tmp as vyos.iso. The same error message appeared again.) So I think my hypothesis is true.

Code at VyOS Legacy · GitHub is not supported anymore
it may or may not work

Is there any supported way to create a vyos cloud init image for pve?

SOLUTION found:

In vyos-vm-images/roles/mount-iso/tasks/main.yml change line 12:

command: md5sum -c md5sum.txt

to:

command: sha256sum -c sha256sum.txt

This is because md5sum.txt is in fact missing, but sha256sum.txt can be used instead.

1 Like

MD5 was removed recently in

GitHub - vyos-legacy/vyos-vm-images is no longer under development and retired. It’s superseded by the build flavor system.

2 Likes