mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 19:47:53 +00:00
Merge pull request #273 from devimc/topic/removeLogs
rootfs-builder: remove /var/log
This commit is contained in:
commit
24dbcbe88a
@ -379,7 +379,7 @@ fi
|
||||
build_rootfs ${ROOTFS_DIR}
|
||||
pushd "${ROOTFS_DIR}" >> /dev/null
|
||||
if [ "$PWD" != "/" ] ; then
|
||||
rm -rf ./var/cache/ ./var/lib
|
||||
rm -rf ./var/cache/ ./var/lib ./var/log
|
||||
fi
|
||||
popd >> /dev/null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user