neil / rpms / anaconda

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