From bc1f075e4110c5bad913936036b335bd217f6624 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Aug 06 2015 21:02:18 +0000 Subject: remove the hacks in %post for extlinux Signed-off-by: Dennis Gilmore --- diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index f3bc5f2..f2ece17 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -105,9 +105,6 @@ passwd -l root # remove the user anaconda forces us to make userdel -r none -# Kickstart specifies timeout in seconds; syslinux uses 10ths. -# 0 means wait forever, so instead we'll go with 1. -sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf # setup systemd to boot to the right runlevel echo -n "Setting default runlevel to multiuser text mode" @@ -225,21 +222,12 @@ echo "-----------------------------------------------------------------------" rm -f /var/lib/rpm/__db* -# This is a temporary workaround for -# -# where sfdisk seems to be messing up the mbr. -# Long-term fix is to address this in anaconda directly and remove this. -# -dd if=/usr/share/syslinux/mbr.bin of=/dev/vda - # FIXME: is this still needed? echo "Fixing SELinux contexts." touch /var/log/cron touch /var/log/boot.log -chattr -i /boot/extlinux/ldlinux.sys /usr/sbin/fixfiles -R -a restore -chattr +i /boot/extlinux/ldlinux.sys echo "Zeroing out empty space." # This forces the filesystem to reclaim space from deleted files