Skip to content

Commit 62ec61c

Browse files
committed
Detect when Debian is used to launch libvirtd
this patch checks if os_VENDOR is ubuntu to launch libvirt-bin service. Previously, is_ubuntu() was used, but this function only detects if a deb packaging is used, so there were no distinction between Ubuntu and Debian. Change-Id: I222b71962f49896063910ff2a25e4f57be4bf819 Closes-Bug: 1361260
1 parent a90898d commit 62ec61c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/nova_plugins/functions-libvirt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ cgroup_device_acl = [
5757
EOF
5858
fi
5959

60-
if is_ubuntu; then
60+
if [ "$os_VENDOR" = "Ubuntu" ]; then
6161
LIBVIRT_DAEMON=libvirt-bin
6262
else
6363
LIBVIRT_DAEMON=libvirtd

0 commit comments

Comments
 (0)