From 62ec61c211563bac71b693c64ce2d5389a9e3fe6 Mon Sep 17 00:00:00 2001 From: mathieu-rohon Date: Thu, 28 Aug 2014 16:40:14 +0200 Subject: [PATCH] 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 --- lib/nova_plugins/functions-libvirt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nova_plugins/functions-libvirt b/lib/nova_plugins/functions-libvirt index 258e1a40e6..f722836693 100644 --- a/lib/nova_plugins/functions-libvirt +++ b/lib/nova_plugins/functions-libvirt @@ -57,7 +57,7 @@ cgroup_device_acl = [ EOF fi - if is_ubuntu; then + if [ "$os_VENDOR" = "Ubuntu" ]; then LIBVIRT_DAEMON=libvirt-bin else LIBVIRT_DAEMON=libvirtd