neil / rpms / anaconda

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