]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_detect_init: added linux mint 4706/head
authorMichal Jarzabek <stiopa@gmail.com>
Sun, 17 May 2015 11:46:18 +0000 (12:46 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Sun, 17 May 2015 11:50:57 +0000 (12:50 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/ceph-detect-init/ceph_detect_init/__init__.py
src/ceph-detect-init/ceph_detect_init/debian/__init__.py

index 04f993bcda450bcec4464d602eb6fc4aa757353b..bf8eac8572d3960a4838754c1d6cf4b2f1130eb7 100644 (file)
@@ -53,6 +53,7 @@ def _get_distro(distro, use_rhceph=False):
     distributions = {
         'debian': debian,
         'ubuntu': debian,
+        'linuxmint' : debian,
         'centos': centos,
         'scientific': centos,
         'redhat': centos,
index 147bda1165c06725627cd61e9c88f82749b38df0..7518562e2f31c10682684a667046e8112b5b387a 100644 (file)
@@ -8,6 +8,6 @@ def choose_init():
 
     Returns the name of a init system (upstart, sysvinit ...).
     """
-    if distro.lower() == 'ubuntu':
+    if distro.lower() == 'ubuntu' or distro.lower() == 'linuxmint':
         return 'upstart'
     return 'sysvinit'