netgod / rpms / anaconda

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