From 8f780b0315f2625f4c0f6e877fe93a679f36a539 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Jan 01 2020 22:50:10 +0000 Subject: use dnf instead of yum in cloud kickstarts --- 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