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:
parent
b297e10115
commit
34df35c5d7
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue