1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-12-25 04:23:13 +00:00

selinux context fixes for cloud image

This commit is contained in:
Matthew Miller 2013-12-04 09:50:21 -05:00
parent d3410ae947
commit 77ea37a424

View File

@ -196,7 +196,12 @@ yum clean all
truncate -c -s 0 /var/log/yum.log
echo "Fixing SELinux contexts."
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
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