diff --git a/CentOS-8-EC2.ks b/CentOS-8-EC2.ks
index ebd6e61..796c74b 100644
--- a/CentOS-8-EC2.ks
+++ b/CentOS-8-EC2.ks
@@ -46,12 +46,12 @@ rm -f /etc/systemd/system/default.target
 ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 echo .
 
-yum -C -y remove linux-firmware
+dnf -C -y remove linux-firmware
 
 # Remove firewalld; it is required to be present for install/image building.
 # but we dont ship it in cloud
-yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
-yum -C -y remove avahi\* 
+dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
+dnf -C -y remove avahi\* 
 sed -i '/^#NAutoVTs=.*/ a\
 NAutoVTs=0' /etc/systemd/logind.conf
 
diff --git a/CentOS-8-GenericCloud.ks b/CentOS-8-GenericCloud.ks
index e95afe5..13df30b 100644
--- a/CentOS-8-GenericCloud.ks
+++ b/CentOS-8-GenericCloud.ks
@@ -46,12 +46,12 @@ rm -f /etc/systemd/system/default.target
 ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 echo .
 
-yum -C -y remove linux-firmware
+dnf -C -y remove linux-firmware
 
 # Remove firewalld; it is required to be present for install/image building.
 # but we dont ship it in cloud
-yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
-yum -C -y remove avahi\* 
+dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
+dnf -C -y remove avahi\* 
 sed -i '/^#NAutoVTs=.*/ a\
 NAutoVTs=0' /etc/systemd/logind.conf
 
@@ -155,6 +155,7 @@ nfs-utils
 rsync
 tar
 dnf-utils
+yum-utils
 -aic94xx-firmware
 -alsa-firmware
 -alsa-lib