diff options
author | Matthew Miller <mattdm@mattdm.org> | 2013-12-04 09:50:21 -0500 |
---|---|---|
committer | Matthew Miller <mattdm@mattdm.org> | 2013-12-09 14:55:55 -0500 |
commit | 9625f87b664d91a9972802e493103d6f62e506fb (patch) | |
tree | 7c81f4c036b0c82de52bdf8de3f2741e2147453f /fedora-cloud-base.ks | |
parent | ba05c3ed084541dfbd0e2efc80ba4817df55c8f2 (diff) | |
download | spin-kickstarts-9625f87b664d91a9972802e493103d6f62e506fb.tar.gz spin-kickstarts-9625f87b664d91a9972802e493103d6f62e506fb.tar.xz spin-kickstarts-9625f87b664d91a9972802e493103d6f62e506fb.zip |
selinux context fixes for cloud image
(cherry picked from commit 77ea37a42473764bdc58cfdd072fbcffd8d8ba9f)
Diffstat (limited to 'fedora-cloud-base.ks')
-rw-r--r-- | fedora-cloud-base.ks | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index 21b6473..5461bda 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -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 |