← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~legovini/cloud-init:support-new-opensuse into cloud-init:master


Paride Legovini has proposed merging ~legovini/cloud-init:support-new-opensuse into cloud-init:master.

Commit message:
sysconfig: support openSUSE 15.x and Tumbleweed

Add opensuse-leap and opensuse-tumbleweed to KNOWN_DISTROS.

LP: #1843584

Requested reviews:
  cloud-init Commiters (cloud-init-dev)
Related bugs:
  Bug #1843584 in cloud-init: "cloudinit/net/sysconfig.py lacks support for openSUSE 15.x and Tumbleweed"

For more details, see:
Your team cloud-init Commiters is requested to review the proposed merge of ~legovini/cloud-init:support-new-opensuse into cloud-init:master.
diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py
index be5dede..a9a4883 100644
--- a/cloudinit/net/sysconfig.py
+++ b/cloudinit/net/sysconfig.py
@@ -19,7 +19,15 @@ from .network_state import (
 LOG = logging.getLogger(__name__)
 NM_CFG_FILE = "/etc/NetworkManager/NetworkManager.conf"
-    'opensuse', 'sles', 'suse', 'redhat', 'fedora', 'centos']
+    'opensuse',
+    'opensuse-leap',
+    'opensuse-tumbleweed',
+    'sles',
+    'suse',
+    'redhat',
+    'fedora',
+    'centos',
+    ]
 def _make_header(sep='#'):

Follow ups