From d4d8bffb2cf37a3576f6ad6b6dc68c3c5c5174e1 Mon Sep 17 00:00:00 2001 From: Chris Murphy Date: Tue, 13 Jul 2021 05:05:47 +0000 Subject: [PATCH] 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 --- fedora-cloud-base.ks | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index 6ff9c89..ab5518c 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -121,12 +121,6 @@ releasever=$(rpm --eval '%{fedora}') basearch=$(uname -i) 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. # Let's clean it up. echo "Cleanup leftover networking configuration"