← Back to team overview

curtin-dev team mailing list archive

[Merge] ~alanbach/curtin:azurelinux into curtin:master

 

Alan Baghumian has proposed merging ~alanbach/curtin:azurelinux into curtin:master.

Commit message:
feat(distro): add AzureLinux support
    
fixes LP#2071653

Requested reviews:
  curtin developers (curtin-dev)

For more details, see:
https://code.launchpad.net/~alanbach/curtin/+git/curtin/+merge/468544
-- 
Your team curtin developers is requested to review the proposed merge of ~alanbach/curtin:azurelinux into curtin:master.
diff --git a/curtin/distro.py b/curtin/distro.py
index 4f9fe26..56a80bb 100644
--- a/curtin/distro.py
+++ b/curtin/distro.py
@@ -22,7 +22,7 @@ from .log import LOG
 DistroInfo = namedtuple('DistroInfo', ('variant', 'family'))
 DISTRO_NAMES = ['arch', 'centos', 'debian', 'fedora', 'freebsd', 'gentoo',
                 'ol', 'opensuse', 'redhat', 'rhel', 'sles', 'suse', 'ubuntu',
-                'rocky', 'almalinux']
+                'rocky', 'almalinux', 'mariner']
 
 
 # python2.7 lacks  PEP 435, so we must make use an alternative for py2.7/3.x
@@ -37,7 +37,7 @@ OS_FAMILIES = {
     DISTROS.debian: [DISTROS.debian, DISTROS.ubuntu],
     DISTROS.redhat: [DISTROS.centos, DISTROS.fedora, DISTROS.ol,
                      DISTROS.redhat, DISTROS.rhel, DISTROS.rocky,
-                     DISTROS.almalinux],
+                     DISTROS.almalinux, DISTROS.mariner],
     DISTROS.gentoo: [DISTROS.gentoo],
     DISTROS.freebsd: [DISTROS.freebsd],
     DISTROS.suse: [DISTROS.opensuse, DISTROS.sles, DISTROS.suse],
diff --git a/pylintrc b/pylintrc
index 4de6618..ae022f5 100644
--- a/pylintrc
+++ b/pylintrc
@@ -7,7 +7,7 @@ jobs=0
 # List of members which are set dynamically and missed by pylint inference
 # system, and so shouldn't trigger E1101 when accessed. Python regular
 # expressions are accepted.
-generated-members=redhat,centos,fedora,debian,suse,ol,opensuse,sles,arch,ubuntu,rhel,freebsd,gentoo,rocky,almalinux
+generated-members=redhat,centos,fedora,debian,suse,ol,opensuse,sles,arch,ubuntu,rhel,freebsd,gentoo,rocky,almalinux,mariner
 
 # List of module names for which member attributes should not be checked
 # (useful for modules/projects where namespaces are manipulated during runtime

Follow ups