From 96b9be656648adda25ec4cd0f4a16e3edbe36183 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Tue, 7 Oct 2014 13:44:07 +0200 Subject: [PATCH 22/22] Take "RHEL Atomic Host" as rhel installclass. Atomic is using this product name that does not match "Red Hat " prefix, due to lorax length limita on the name (32 chars?). --- pyanaconda/installclasses/rhel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyanaconda/installclasses/rhel.py b/pyanaconda/installclasses/rhel.py index 74052fd..8a694e3 100644 --- a/pyanaconda/installclasses/rhel.py +++ b/pyanaconda/installclasses/rhel.py @@ -30,7 +30,7 @@ class InstallClass(BaseInstallClass): id = "rhel" name = N_("Red Hat Enterprise Linux") sortPriority = 20000 - if not productName.startswith("Red Hat "): + if not productName.startswith(("Red Hat ", "RHEL Atomic")): hidden = 1 defaultFS = "xfs" -- 1.9.3