From 34df35c5d759833fcdc18205c39c60a0998b2a49 Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 22 Nov 2019 11:52:08 +0300 Subject: [PATCH] libvirt-bootstrap.sh: add debian 10 package install support --- dev/libvirt-bootstrap.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/libvirt-bootstrap.sh b/dev/libvirt-bootstrap.sh index 948d3d6..54054d9 100644 --- a/dev/libvirt-bootstrap.sh +++ b/dev/libvirt-bootstrap.sh @@ -662,7 +662,10 @@ daemons_running_ubuntu() { # install_debian() { apt-get update || return 1 - apt-get -y install qemu-kvm libvirt-bin bridge-utils sasl2-bin python-guestfs supervisor || return 1 + if [ $DISTRO_MAJOR_VERSION -lt 10 ]; then + apt-get -y install qemu-kvm libvirt-bin bridge-utils sasl2-bin python-guestfs supervisor || return 1 + else + apt-get -y install qemu qemu-kvm qemu-system qemu-utils libvirt-clients libvirt-daemon-system sasl2-bin virtinst supervisor || return 1 return 0 }