This is an automated email from the git hooks/post-receive script.
kevin pushed a commit to branch f38
in repository fedora-kickstarts.
The following commit(s) were added to refs/heads/f38 by this push:
new bb780fa Fixed an incorrect delete command.
bb780fa is described below
commit bb780fa1bbf7f03fc5ae3b4cfce6703e08913aa2
Author: Peter Boy <pb(a)resdigita.de>
AuthorDate: Wed Mar 22 23:59:52 2023 +0100
Fixed an incorrect delete command.
---
fedora-server-vm-full.ks | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fedora-server-vm-full.ks b/fedora-server-vm-full.ks
index 967c5d1..8f7b4e2 100644
--- a/fedora-server-vm-full.ks
+++ b/fedora-server-vm-full.ks
@@ -1,4 +1,4 @@
-# fedora-server-vm-full.ks (rel. 1.01)
+# fedora-server-vm-full.ks (rel. 1.02)
# Kickstart file to build a Fedora Server Edition VM disk image.
# The image aims to resemble as close as technically possible the
# full features of a Fedora Server Edition in a virtual machine.
@@ -174,6 +174,11 @@ touch /etc/machine-id
##### begin custom post script (after base) #########################
%post
+# When we build the image /var/log gets populated.
+# Let's clean it up.
+echo "Cleanup leftover in /var/log"
+cd /var/log && find . -name \* -type f -delete
+
echo "Zeroing out empty space."
# Create zeros file with nodatacow and no compression
touch /var/tmp/zeros
@@ -192,10 +197,5 @@ rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
-# When we build the image /var/log gets populated.
-# Let's clean it up.
-echo "Cleanup leftover in /var/log"
-rm -rf /var/log/*
-
%end
##### end custom post script ########################################
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.