Added cleanup of /var/log

This commit is contained in:
Peter Boy 2022-10-05 17:59:53 +02:00
parent 3d653e54ca
commit bd8d33d5c2

View File

@ -192,5 +192,10 @@ rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo . 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
##### end custom post script ######################################## ##### end custom post script ########################################