Browse code

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

mathieu-rohon authored on 2014/08/28 23:40:14
Showing 1 changed files
... ...
@@ -57,7 +57,7 @@ cgroup_device_acl = [
57 57
 EOF
58 58
     fi
59 59
 
60
-    if is_ubuntu; then
60
+    if [ "$os_VENDOR" = "Ubuntu" ]; then
61 61
         LIBVIRT_DAEMON=libvirt-bin
62 62
     else
63 63
         LIBVIRT_DAEMON=libvirtd