From 3a44a9fbfbfec707dec07533fee31406a76f49ae Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 23 May 2021 14:54:47 +0200 Subject: [PATCH] bundles/vmhost: only install qemu-kvm for debian buster and older --- bundles/vmhost/metadata.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bundles/vmhost/metadata.py b/bundles/vmhost/metadata.py index 125274e..c5e7a59 100644 --- a/bundles/vmhost/metadata.py +++ b/bundles/vmhost/metadata.py @@ -5,7 +5,6 @@ defaults = { 'libvirt-daemon-system': {}, 'netcat-openbsd': {}, # for virt-manager 'qemu-utils': {}, - 'qemu-kvm': {}, 'qemu-system-x86': {}, }, }, @@ -24,5 +23,8 @@ defaults = { }, } +if node.os == 'debian' and node.os_version[0] < 11: + defaults['apt']['packages']['qemu-kvm'] = {} + if node.has_bundle('zfs'): defaults['apt']['packages']['libvirt-daemon-driver-storage-zfs'] = {}