netgod / rpms / anaconda

Forked from rpms/anaconda 2 years ago
Clone
Blob Blame History Raw
diff -uNr anaconda-19.31.79__orig/pyanaconda/installclasses/rhel.py anaconda-19.31.79/pyanaconda/installclasses/rhel.py
--- anaconda-19.31.79__orig/pyanaconda/installclasses/rhel.py	2015-06-05 12:15:44.289946326 +0100
+++ anaconda-19.31.79/pyanaconda/installclasses/rhel.py	2015-06-05 12:26:37.525644750 +0100
@@ -30,9 +30,9 @@
 from blivet.devicelibs import swap
 
 class RHELBaseInstallClass(BaseInstallClass):
-    name = "Red Hat Enterprise Linux"
+    name = "CentOS Linux"
     sortPriority = 20000
-    if not productName.startswith("Red Hat "):
+    if not productName.startswith("CentOS "):
         hidden = True
     defaultFS = "xfs"
 
@@ -45,7 +45,7 @@
 
     _l10n_domain = "comps"
 
-    efi_dir = "redhat"
+    efi_dir = "centos"
 
     def configure(self, anaconda):
         BaseInstallClass.configure(self, anaconda)
@@ -90,8 +90,8 @@
         BaseInstallClass.__init__(self)
 
 class RHELAtomicInstallClass(RHELBaseInstallClass):
-    name = "RHEL Atomic Host"
-    if productName.startswith("RHEL Atomic"):
+    name = "CentOS Atomic Host"
+    if productName.startswith("CentOS Atomic"):
         hidden = False
 
     def setDefaultPartitioning(self, storage):