Merge "Debian: use libvirt-bin when needed"

This commit is contained in:
Jenkins
2014-09-19 00:21:42 +00:00
committed by Gerrit Code Review

View File

@@ -57,7 +57,9 @@ cgroup_device_acl = [
EOF
fi
if [ "$os_VENDOR" = "Ubuntu" ]; then
# Since the release of Debian Wheezy the libvirt init script is libvirtd
# and not libvirtd-bin anymore.
if is_ubuntu && [ ! -f /etc/init.d/libvirtd ]; then
LIBVIRT_DAEMON=libvirt-bin
else
LIBVIRT_DAEMON=libvirtd