Page MenuHomeVyOS Platform

vyos-vm-images: fix vagrant libvirt box
Closed, ResolvedPublic

Details

Difficulty level
Unknown (require assessment)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

higebu created this object in space S1 VyOS Public.

@higebu it looks like PR https://github.com/vyos/vyos-vm-images/pull/25 caused some new issues (I use the qemu.yaml build). First:

fatal: [localhost]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'enable_dhcp' is undefined"}

I propose to use this in the template (same for enable_ssh):

{% if enable_dhcp | default(True) %}

Or alternatively define those variables in all playbooks.

Second, I get this new warning:

TASK [install-grub : Mount EFI] ********************************************************************************************************************************
[WARNING]: Ignore the 'boot' due to 'opts' contains 'defaults'.

I don't know what the proper solution there would be.

@hakwerk I'm sorry for the delay of the response. It seems that this PR(https://github.com/vyos/vyos-vm-images/pull/28) fixes the enable_dhcp issue.
I can't reproduce the install-grub issue for now. If I get the warning, I will try to fix it.

higebu added a project: Restricted Project.Apr 10 2022, 11:48 PM
higebu moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Apr 10 2022, 11:51 PM