1 |
unnilennium |
1.1 |
diff -uNr anaconda-21.48.22.56__orig/pyanaconda/bootloader.py anaconda-21.48.22.56/pyanaconda/bootloader.py |
2 |
|
|
--- anaconda-21.48.22.56__orig/pyanaconda/bootloader.py 2015-10-29 14:23:19.000000000 +0000 |
3 |
|
|
+++ anaconda-21.48.22.56/pyanaconda/bootloader.py 2015-12-07 17:23:41.013000000 +0000 |
4 |
|
|
@@ -1411,7 +1411,7 @@ |
5 |
|
|
|
6 |
|
|
@property |
7 |
|
|
def stage2_format_types(self): |
8 |
|
|
- if productName.startswith("Red Hat "): |
9 |
|
|
+ if productName.startswith("Red Hat ") or productName.startswith("CentOS"): |
10 |
|
|
return ["xfs", "ext4", "ext3", "ext2", "btrfs"] |
11 |
|
|
else: |
12 |
|
|
return ["ext4", "ext3", "ext2", "btrfs", "xfs"] |
13 |
|
|
@@ -2105,7 +2105,7 @@ |
14 |
|
|
|
15 |
|
|
@property |
16 |
|
|
def stage2_format_types(self): |
17 |
|
|
- if productName.startswith("Red Hat "): |
18 |
|
|
+ if productName.startswith("Red Hat ") or productName.startswith("CentOS"): |
19 |
|
|
return ["xfs", "ext4", "ext3", "ext2"] |
20 |
|
|
else: |
21 |
|
|
return ["ext4", "ext3", "ext2", "xfs"] |