[PATCH 6/6] Identify Atomic install class by correct product name (#1193268)

Radek Vykydal rvykydal at redhat.com
Mon Jun 1 15:47:44 UTC 2015


Resolves: rhbz#1193268
---
 pyanaconda/installclasses/rhel.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/installclasses/rhel.py b/pyanaconda/installclasses/rhel.py
index e0a4cd9..e340b62 100644
--- a/pyanaconda/installclasses/rhel.py
+++ b/pyanaconda/installclasses/rhel.py
@@ -71,8 +71,9 @@ class RHELBaseInstallClass(BaseInstallClass):
         BaseInstallClass.__init__(self)
 
 class RHELAtomicInstallClass(RHELBaseInstallClass):
-    name = "RHEL Atomic Host"
-    if productName.startswith("RHEL Atomic"):
+    name = "Red Hat Enterprise Linux Atomic Host"
+    sortPriority=21000
+    if productName.startswith(("RHEL Atomic Host", "Red Hat Enterprise Linux Atomic")):
         hidden = False
 
     def setDefaultPartitioning(self, storage):
-- 
1.9.3



More information about the anaconda-patches mailing list