1 |
diff -aurp a/pyanaconda/installclasses/centos.py b/pyanaconda/installclasses/centos.py |
2 |
--- a/pyanaconda/installclasses/centos.py 2019-05-31 19:04:29.202239897 -0300 |
3 |
+++ b/pyanaconda/installclasses/centos.py 2019-05-31 19:01:14.000000000 -0300 |
4 |
@@ -36,9 +36,9 @@ __all__ = ["RHELBaseInstallClass", "RHEL |
5 |
|
6 |
|
7 |
class RHELBaseInstallClass(BaseInstallClass): |
8 |
- name = "Red Hat Enterprise Linux" |
9 |
- sortPriority = 20000 |
10 |
- if not productName.startswith("Red Hat "): |
11 |
+ name = "CentOS Linux" |
12 |
+ sortPriority = 20001 |
13 |
+ if not productName.startswith("CentOS"): |
14 |
hidden = True |
15 |
defaultFS = "xfs" |
16 |
|
17 |
@@ -50,10 +50,10 @@ class RHELBaseInstallClass(BaseInstallCl |
18 |
|
19 |
_l10n_domain = "comps" |
20 |
|
21 |
- efi_dir = "redhat" |
22 |
+ efi_dir = "centos" |
23 |
|
24 |
- help_placeholder = "RHEL7Placeholder.html" |
25 |
- help_placeholder_with_links = "RHEL7PlaceholderWithLinks.html" |
26 |
+ help_placeholder = "CentOSPlaceholder.html" |
27 |
+ help_placeholder_with_links = "CentOSPlaceholderWithLinks.html" |
28 |
|
29 |
def configure(self, anaconda): |
30 |
BaseInstallClass.configure(self, anaconda) |
31 |
@@ -76,9 +76,9 @@ class RHELBaseInstallClass(BaseInstallCl |
32 |
BaseInstallClass.__init__(self) |
33 |
|
34 |
class RHELAtomicInstallClass(RHELBaseInstallClass): |
35 |
- name = "Red Hat Enterprise Linux Atomic Host" |
36 |
- sortPriority=21000 |
37 |
- hidden = not productName.startswith(("RHEL Atomic Host", "Red Hat Enterprise Linux Atomic")) |
38 |
+ name = "CentOS Atomic Host" |
39 |
+ sortPriority=21001 |
40 |
+ hidden = not productName.startswith(("CentOS Atomic Host", "CentOS Linux Atomic")) |
41 |
|
42 |
def __init__(self): |
43 |
self.localemap = {} # loaded lazily |