neil / rpms / anaconda

Forked from rpms/anaconda a year ago
Clone
Karanbir Singh e0be2b
diff -uNr anaconda-21.48.22.56__orig/pyanaconda/bootloader.py anaconda-21.48.22.56/pyanaconda/bootloader.py
Karanbir Singh e0be2b
--- anaconda-21.48.22.56__orig/pyanaconda/bootloader.py	2015-10-29 14:23:19.000000000 +0000
Karanbir Singh e0be2b
+++ anaconda-21.48.22.56/pyanaconda/bootloader.py	2015-12-07 17:23:41.013000000 +0000
Karanbir Singh e0be2b
@@ -1411,7 +1411,7 @@
f4150a
 
f4150a
     @property
f4150a
     def stage2_format_types(self):
f4150a
-        if productName.startswith("Red Hat "):
f4150a
+        if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
f4150a
             return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
f4150a
         else:
f4150a
             return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
Karanbir Singh e0be2b
@@ -2105,7 +2105,7 @@
f4150a
 
f4150a
     @property
f4150a
     def stage2_format_types(self):
f4150a
-        if productName.startswith("Red Hat "):
f4150a
+        if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
f4150a
             return ["xfs", "ext4", "ext3", "ext2"]
f4150a
         else:
f4150a
             return ["ext4", "ext3", "ext2", "xfs"]