From b6b7ff1e33e469678ae60814677cf95ecfedf631 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 12 Feb 2023 03:57:13 +0100 Subject: common.suse: remove AutoYaST We only use AutoYaST for the OS deployment and don't need the packages afterwards. Signed-off-by: Georg Pfuetzenreuter --- salt/common/suse.sls | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/salt/common/suse.sls b/salt/common/suse.sls index bd427ff..baf0167 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -41,8 +41,20 @@ ca-certificates-syscid: - require: - pkgrepo: libertacasa_rpm_repository -common_packages: +common_packages_install: pkg.installed: - names: - fish - system-group-wheel + +common_packages_remove: + pkg.removed: + - pkgs: + {#- we only use AutoYaST for the OS deployment #} + - autoyast2 + - autoyast2-installation + - libX11-data + - yast2-add-on + - yast2-services-manager + - yast2-slp + - yast2-trans-stats -- cgit v1.2.3 From 8e1436d4afaeb72440157a81fc98abd98b3badcc Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 12 Feb 2023 03:57:52 +0100 Subject: 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/salt/common/suse.sls b/salt/common/suse.sls index baf0167..e260c77 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -46,6 +46,15 @@ common_packages_install: - names: - fish - system-group-wheel +{%- if grains['virtual'] == 'kvm' %} + - qemu-guest-agent + +qemu-guest-agent: + service.running: + - enable: True + - require: + - pkg: qemu-guest-agent +{%- endif %} common_packages_remove: pkg.removed: -- cgit v1.2.3