mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 15:45:23 +00:00
fix debian qemu package renaming
This commit is contained in:
parent
cf6f74f6c3
commit
77c4f8981b
1 changed files with 3 additions and 1 deletions
|
@ -680,8 +680,10 @@ install_debian() {
|
||||||
apt-get update || return 1
|
apt-get update || return 1
|
||||||
if [ "$DISTRO_MAJOR_VERSION" -lt 10 ]; then
|
if [ "$DISTRO_MAJOR_VERSION" -lt 10 ]; then
|
||||||
apt-get -y install qemu-kvm libvirt-bin bridge-utils sasl2-bin python-guestfs supervisor || return 1
|
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
|
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
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue