neil / rpms / anaconda

Forked from rpms/anaconda a year ago
Clone
6e5b62
diff -aurp a/pyanaconda/installclasses/centos.py b/pyanaconda/installclasses/centos.py
6e5b62
--- a/pyanaconda/installclasses/centos.py	2019-05-31 19:04:29.202239897 -0300
6e5b62
+++ b/pyanaconda/installclasses/centos.py	2019-05-31 19:01:14.000000000 -0300
6e5b62
@@ -36,9 +36,9 @@ __all__ = ["RHELBaseInstallClass", "RHEL
6e5b62
 
6e5b62
 
6e5b62
 class RHELBaseInstallClass(BaseInstallClass):
6e5b62
-    name = "Red Hat Enterprise Linux"
6e5b62
-    sortPriority = 20000
6e5b62
-    if not productName.startswith("Red Hat "):
6e5b62
+    name = "CentOS Linux"
6e5b62
+    sortPriority = 20001
6e5b62
+    if not productName.startswith("CentOS"):
6e5b62
         hidden = True
6e5b62
     defaultFS = "xfs"
6e5b62
 
6e5b62
@@ -50,10 +50,10 @@ class RHELBaseInstallClass(BaseInstallCl
6e5b62
 
6e5b62
     _l10n_domain = "comps"
6e5b62
 
6e5b62
-    efi_dir = "redhat"
6e5b62
+    efi_dir = "centos"
6e5b62
 
6e5b62
-    help_placeholder = "RHEL7Placeholder.html"
6e5b62
-    help_placeholder_with_links = "RHEL7PlaceholderWithLinks.html"
6e5b62
+    help_placeholder = "CentOSPlaceholder.html"
6e5b62
+    help_placeholder_with_links = "CentOSPlaceholderWithLinks.html"
6e5b62
 
6e5b62
     def configure(self, anaconda):
6e5b62
         BaseInstallClass.configure(self, anaconda)
6e5b62
@@ -76,9 +76,9 @@ class RHELBaseInstallClass(BaseInstallCl
6e5b62
         BaseInstallClass.__init__(self)
6e5b62
 
6e5b62
 class RHELAtomicInstallClass(RHELBaseInstallClass):
6e5b62
-    name = "Red Hat Enterprise Linux Atomic Host"
6e5b62
-    sortPriority=21000
6e5b62
-    hidden = not productName.startswith(("RHEL Atomic Host", "Red Hat Enterprise Linux Atomic"))
6e5b62
+    name = "CentOS Atomic Host"
6e5b62
+    sortPriority=21001
6e5b62
+    hidden = not productName.startswith(("CentOS Atomic Host", "CentOS Linux Atomic"))
6e5b62
 
6e5b62
     def __init__(self):
6e5b62
         self.localemap = {} # loaded lazily