From 20ec979ea27730757e160ec3b8d34ab7c936e737 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mar 25 2024 19:54:21 +0000 Subject: Merge branch 'crameleon/libvirt-guests' into 'production' Configure libvirt-guests on standalone hypervisors See merge request infra/salt!1606 --- diff --git a/pillar/role/hypervisor/standalone.sls b/pillar/role/hypervisor/standalone.sls index f378537..238bde7 100644 --- a/pillar/role/hypervisor/standalone.sls +++ b/pillar/role/hypervisor/standalone.sls @@ -3,3 +3,10 @@ include: infrastructure: image_type: qcow2 + +libvirt: + guests: + on_boot: start + on_shutdown: shutdown + parallel_shutdown: 4 + start_delay: 2 diff --git a/salt/role/hypervisor/standalone.sls b/salt/role/hypervisor/standalone.sls index a572acc..0f9439a 100644 --- a/salt/role/hypervisor/standalone.sls +++ b/salt/role/hypervisor/standalone.sls @@ -1,6 +1,3 @@ include: - .common - -libvirt-guests: - service.running: - - enable: true + - libvirt.guests