← Back to team overview

curtin-dev team mailing list archive

[Merge] ~xnox/curtin:rocky into curtin:master

 

Dimitri John Ledkov has proposed merging ~xnox/curtin:rocky into curtin:master.

Commit message:
Add rocky linux as a RHEL-like variant

Requested reviews:
  curtin developers (curtin-dev)
Related bugs:
  Bug #1955671 in curtin (Ubuntu): "support for rocky linux UEFI"
  https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1955671

For more details, see:
https://code.launchpad.net/~xnox/curtin/+git/curtin/+merge/415604
-- 
Your team curtin developers is requested to review the proposed merge of ~xnox/curtin:rocky into curtin:master.
diff --git a/curtin/distro.py b/curtin/distro.py
index ed4824a..f91c4dd 100644
--- a/curtin/distro.py
+++ b/curtin/distro.py
@@ -23,7 +23,7 @@ from .log import LOG
 
 DistroInfo = namedtuple('DistroInfo', ('variant', 'family'))
 DISTRO_NAMES = ['arch', 'centos', 'debian', 'fedora', 'freebsd', 'gentoo',
-                'opensuse', 'redhat', 'rhel', 'sles', 'suse', 'ubuntu']
+                'opensuse', 'redhat', 'rhel', 'rocky', 'sles', 'suse', 'ubuntu']
 
 
 # python2.7 lacks  PEP 435, so we must make use an alternative for py2.7/3.x
@@ -37,7 +37,7 @@ DISTROS = distro_enum(*DISTRO_NAMES)
 OS_FAMILIES = {
     DISTROS.debian: [DISTROS.debian, DISTROS.ubuntu],
     DISTROS.redhat: [DISTROS.centos, DISTROS.fedora, DISTROS.redhat,
-                     DISTROS.rhel],
+                     DISTROS.rhel, DISTROS.rocky],
     DISTROS.gentoo: [DISTROS.gentoo],
     DISTROS.freebsd: [DISTROS.freebsd],
     DISTROS.suse: [DISTROS.opensuse, DISTROS.sles, DISTROS.suse],

Follow ups