Added cleanup of /var/log

This commit is contained in:
Peter Boy 2022-10-05 17:57:24 +02:00
parent 10450ca67b
commit 691e2260e6
1 changed files with 5 additions and 0 deletions

View File

@ -190,5 +190,10 @@ 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 ########################################