mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +00:00
Remove 'zeroing out empty space' section
This section is unnecessary due to commit bc7e8ce
, but also inhibits that fix.
So just remove it.
Fixes: https://pagure.io/cloud-sig/issue/340#comment-743041
Signed-off-by: Chris Murphy chrismurphy@fedoraproject.org
This commit is contained in:
parent
bc7e8ce561
commit
d4d8bffb2c
@ -121,12 +121,6 @@ releasever=$(rpm --eval '%{fedora}')
|
|||||||
basearch=$(uname -i)
|
basearch=$(uname -i)
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
|
||||||
|
|
||||||
echo "Zeroing out empty space."
|
|
||||||
# This forces the filesystem to reclaim space from deleted files
|
|
||||||
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
|
|
||||||
rm -f /var/tmp/zeros
|
|
||||||
echo "(Don't worry -- that out-of-space error was expected.)"
|
|
||||||
|
|
||||||
# When we build the image a networking config file gets left behind.
|
# When we build the image a networking config file gets left behind.
|
||||||
# Let's clean it up.
|
# Let's clean it up.
|
||||||
echo "Cleanup leftover networking configuration"
|
echo "Cleanup leftover networking configuration"
|
||||||
|
Loading…
Reference in New Issue
Block a user