From 03976cbc15e1fcc3bda40406b04abf0af9c2880d Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Wed, 23 Sep 2020 09:25:08 +0200 Subject: [PATCH] Remove missing packages from Fedora-ELN-Guest. This commit removes few packages from Fedora-ELN-Guest kickstart: - insights-client - this is RHEL only package which does not exist in Fedora and therefore will not be installed in Fedora ELN. - rng-tools - this is not available in Fedora-ELN compose yet. We will enable rngd again once this is added to Fedora ELN. - dracut-norescue - this is RHEL only package. The Fedora equivalent of this is to remove dracut-config-rescue. This yes is also used in other Fedora kickstarts. Signed-off-by: Jan Kaluza --- fedora-eln-guest.ks | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/fedora-eln-guest.ks b/fedora-eln-guest.ks index 875101e..4694411 100644 --- a/fedora-eln-guest.ks +++ b/fedora-eln-guest.ks @@ -14,7 +14,7 @@ selinux --enforcing firewall --enabled --service=ssh network --bootproto=dhcp --device=link --activate --onboot=on #services --enabled=sshd,ovirt-guest-agent --disabled kdump,rhsmcertd -services --enabled=sshd,NetworkManager,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd --disabled kdump,rhsmcertd +services --enabled=sshd,NetworkManager,cloud-init,cloud-init-local,cloud-config,cloud-final --disabled kdump,rhsmcertd rootpw --iscrypted nope # @@ -86,7 +86,13 @@ qemu-guest-agent cloud-utils-growpart # We need this image to be portable; also, rescue mode isn't useful here. dracut-config-generic -dracut-norescue + +# Don't include dracut-config-rescue. It will have dracut generate a +# "rescue" entry in the grub menu, but that also means there is a +# rescue kernel and initramfs that get created, which (currently) add +# about another 40MiB to the /boot/ partition. Also the "rescue" mode +# is generally not useful in the cloud. +-dracut-config-rescue # Needed initially, but removed below. firewalld @@ -119,10 +125,8 @@ fedora-release fedora-repos # Add rng-tools as source of entropy -rng-tools - -# RH Insights client, for public cloud providers -insights-client +# TODO: Not available in Fedora-ELN yet. +# rng-tools %end