mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
change libguestfs version python3
This commit is contained in:
parent
d3de4bbc30
commit
6aa6ea0817
1 changed files with 7 additions and 7 deletions
|
@ -468,7 +468,7 @@ daemons_running_centos() {
|
||||||
# Fedora Install Functions
|
# Fedora Install Functions
|
||||||
#
|
#
|
||||||
install_fedora() {
|
install_fedora() {
|
||||||
yum -y install kvm libvirt bridge-utils python-libguestfs supervisor || return 1
|
yum -y install kvm libvirt bridge-utils python3-libguestfs supervisor || return 1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -530,7 +530,7 @@ daemons_running_fedora() {
|
||||||
# Opensuse Install Functions
|
# Opensuse Install Functions
|
||||||
#
|
#
|
||||||
install_opensuse() {
|
install_opensuse() {
|
||||||
zypper -n install -l kvm libvirt bridge-utils python-libguestfs supervisor || return 1
|
zypper -n install -l kvm libvirt bridge-utils python3-libguestfs supervisor || return 1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -596,7 +596,7 @@ install_ubuntu() {
|
||||||
if [ $DISTRO_MAJOR_VERSION -lt 18 ]; then
|
if [ $DISTRO_MAJOR_VERSION -lt 18 ]; then
|
||||||
apt-get -y install kvm libvirt-bin bridge-utils sasl2-bin python-guestfs supervisor || return 1
|
apt-get -y install kvm libvirt-bin bridge-utils sasl2-bin python-guestfs supervisor || return 1
|
||||||
else
|
else
|
||||||
apt install -y qemu-kvm libvirt-bin bridge-utils virt-manager sasl2-bin python-guestfs supervisor || return 1
|
apt install -y qemu-kvm libvirt-bin bridge-utils virt-manager sasl2-bin python3-guestfs supervisor || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue