diff --git a/SOURCES/anaconda-centos-add-centos-install-class.patch b/SOURCES/anaconda-centos-add-centos-install-class.patch
index 242ff46..89d64b5 100644
--- a/SOURCES/anaconda-centos-add-centos-install-class.patch
+++ b/SOURCES/anaconda-centos-add-centos-install-class.patch
@@ -98,7 +98,7 @@ diff -uNr anaconda-19.31.79__orig/pyanaconda/installclasses/fedora.py anaconda-1
      name = N_("_Fedora")
      sortPriority = 10000
 -    if productName.startswith("Red Hat "):
-+    if productName.startswith("Red Hat ") or productName.startswith("CentOS "):
++    if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
          hidden = 1
  
      _l10n_domain = "anaconda"
diff --git a/SOURCES/anaconda-centos-bootfs-default-to-xfs.patch b/SOURCES/anaconda-centos-bootfs-default-to-xfs.patch
index 66be0d8..31432af 100644
--- a/SOURCES/anaconda-centos-bootfs-default-to-xfs.patch
+++ b/SOURCES/anaconda-centos-bootfs-default-to-xfs.patch
@@ -6,7 +6,7 @@ diff -uNr anaconda-19.31.79__orig/pyanaconda/bootloader.py anaconda-19.31.79/pya
      @property
      def stage2_format_types(self):
 -        if productName.startswith("Red Hat "):
-+        if productName.startswith("Red Hat ") or productName.startswith("CentOS "):
++        if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
              return ["xfs", "ext4", "ext3", "ext2", "btrfs"]
          else:
              return ["ext4", "ext3", "ext2", "btrfs", "xfs"]
@@ -15,7 +15,7 @@ diff -uNr anaconda-19.31.79__orig/pyanaconda/bootloader.py anaconda-19.31.79/pya
      @property
      def stage2_format_types(self):
 -        if productName.startswith("Red Hat "):
-+        if productName.startswith("Red Hat ") or productName.startswith("CentOS "):
++        if productName.startswith("Red Hat ") or productName.startswith("CentOS"):
              return ["xfs", "ext4", "ext3", "ext2"]
          else:
              return ["ext4", "ext3", "ext2", "xfs"]