From fb0d65dea7235c5e63c72863b355beb299f30c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Jeanneret?= Date: Wed, 17 Dec 2025 13:14:26 +0100 Subject: [PATCH] [libvirt_manager] Fix vm UUID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixing the UUID allows to get predictible value for that field. This is useful when working with GitOps principles and baremetal on virutal manchines, since the UUID is used by sushy-emulator to access the right VM. Signed-off-by: Cédric Jeanneret --- roles/libvirt_manager/templates/domain.xml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/libvirt_manager/templates/domain.xml.j2 b/roles/libvirt_manager/templates/domain.xml.j2 index c62a8b6dbc..d52bfb4f9e 100644 --- a/roles/libvirt_manager/templates/domain.xml.j2 +++ b/roles/libvirt_manager/templates/domain.xml.j2 @@ -1,4 +1,5 @@ + {{ vm | ansible.builtin.to_uuid }} cifmw-{{ vm }} {{ vm_data.memory | default(2) }} {{ vm_data.cpus | default(2) }}