netgod / rpms / anaconda

Forked from rpms/anaconda 2 years ago
Clone
0398b7
diff -uNr anaconda-19.31.79__orig/pyanaconda/bootloader.py anaconda-19.31.79/pyanaconda/bootloader.py
0398b7
--- anaconda-19.31.79__orig/pyanaconda/bootloader.py	2014-04-29 01:45:59.000000000 +0100
0398b7
+++ anaconda-19.31.79/pyanaconda/bootloader.py	2014-06-30 17:19:19.197386280 +0100
0398b7
@@ -1404,7 +1404,7 @@
0398b7
 
0398b7
     @property
0398b7
     def stage2_format_types(self):
0398b7
-        if productName.startswith("Red Hat "):
0398b7
+        if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
0398b7
             return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
0398b7
         else:
0398b7
             return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
0398b7
@@ -2063,7 +2063,7 @@
0398b7
 
0398b7
     @property
0398b7
     def stage2_format_types(self):
0398b7
-        if productName.startswith("Red Hat "):
0398b7
+        if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
0398b7
             return ["xfs", "ext4", "ext3", "ext2"]
0398b7
         else:
0398b7
             return ["ext4", "ext3", "ext2", "xfs"]