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