diff --git a/dev/libvirt-bootstrap.sh b/dev/libvirt-bootstrap.sh index 603b189..139481a 100644 --- a/dev/libvirt-bootstrap.sh +++ b/dev/libvirt-bootstrap.sh @@ -680,8 +680,10 @@ install_debian() { apt-get update || 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 + else [ "$DISTRO_MAJOR_VERSION" -lt 12 ]; then apt-get -y install qemu qemu-kvm qemu-system qemu-utils libvirt-clients libvirt-daemon-system sasl2-bin python3-guestfs virtinst supervisor || return 1 + else + apt-get -y install qemu-system qemu-utils libvirt-clients libvirt-daemon-system sasl2-bin python3-guestfs virtinst supervisor || return 1 fi return 0 }