forked from srbala/fedora-kickstarts
cloud-atomic: Drop SELinux relabeling
This should not be necessary; we have policy loaded from the Anaconda environment.
This commit is contained in:
parent
0ba1d1dbc6
commit
e46c512867
@ -128,15 +128,6 @@ rm -f /var/lib/rpm/__db*
|
|||||||
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
|
||||||
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
|
||||||
|
|
||||||
|
|
||||||
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."
|
echo "Zeroing out empty space."
|
||||||
# This forces the filesystem to reclaim space from deleted files
|
# This forces the filesystem to reclaim space from deleted files
|
||||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
||||||
|
Loading…
Reference in New Issue
Block a user