neil / rpms / anaconda

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