From 7924b50f962a8ef89382db4787217ba7eba9f8d3 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 12 Feb 2023 03:57:52 +0100 Subject: [PATCH] common.suse: manage qemu-guest-agent Ensure qemu-guest-agent is active on all KVM guests. Signed-off-by: Georg Pfuetzenreuter --- salt/common/suse.sls | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/salt/common/suse.sls b/salt/common/suse.sls index 58ff4b4..31e2d18 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -46,6 +46,13 @@ common_packages_install: - names: - fish - system-group-wheel +{%- if grains['virtual'] == 'kvm' %} + - qemu-guest-agent + +qemu-guest-agent: + service.running: + enable: True +{%- endif %} common_packages_remove: pkg.removed: