New number version break qcow build

Hello,

I recently encountered a bug while building vyos images in qcow2, which seems to have arisen from the change in version number naming. It appears that the installation of grub is being skipped in the Ansible playbook, rendering the generated image unbootable.

Previous version number: 1.5-rolling-202502161046
New version number: 2025.03.28-0018-rolling

I believe this issue is related to the regex in the grub wrapper role, which does not account for the new version number.

TASK [Select GRUB for installer for VyOS <=1.3] ******************************************************
skipping: [localhost]

TASK [Select GRUB for installer for VyOS >=1.4] ******************************************************
skipping: [localhost]

As a workaround, I am overriding the vyos_version variable with an older version number to force the role to execute. However, I would like to submit a pull request or report an incident to ensure this is addressed in the playbook. Unfortunately, the repository hosting is archived.

That’s why I’m posting on this forum. Do you know if it’s possible for a maintainer to implement a quick fix for the role?

Thank you very much from the Proxmox community! :slight_smile:

The vyos-vm-images is deprecated and not ussing anymore.

Do you know if this has been deprecated for another build method?

It was deprecated for exactly that reason. Here you go: GitHub - vyos/vyos-build: VyOS image build scripts
If you want to check out the blog post about it (has a teeny bit more info than the docs): Introducing the image build flavor system

I will give a check, many thanks MPStudyly

1 Like