]> git.proxmox.com Git - ceph.git/blobdiff - patches/0003-ceph-detect-init-support-Debian-Stretch.patch
rebase patches on v12.0.1
[ceph.git] / patches / 0003-ceph-detect-init-support-Debian-Stretch.patch
index d89a501a82502e44bb1733bb17275106d3561169..e41f5a16935107a9ed6dd8c00214d5a34d044326 100644 (file)
@@ -12,12 +12,12 @@ Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
  1 file changed, 1 insertion(+)
 
 diff --git a/src/ceph-detect-init/ceph_detect_init/__init__.py b/src/ceph-detect-init/ceph_detect_init/__init__.py
-index b431616..d03d8db 100644
+index 9abc421..a7f7beb 100644
 --- a/src/ceph-detect-init/ceph_detect_init/__init__.py
 +++ b/src/ceph-detect-init/ceph_detect_init/__init__.py
-@@ -113,6 +113,7 @@ def platform_information():
+@@ -139,6 +139,7 @@ def platform_information():
      # this could be an empty string in Debian
-     if not codename and 'debian' in distro.lower():
+     if not codename and 'debian' in distro_lower:
          debian_codenames = {
 +            '9': 'stretch',
              '8': 'jessie',