1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

libvirt-bootstrap.sh: add debian 10 package install support

This commit is contained in:
catborise 2019-11-22 11:52:08 +03:00
parent b297e10115
commit 34df35c5d7

View file

@ -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
}