diff --git a/image/cleanup.sh b/image/cleanup.sh index cfe7246..57e8c7b 100755 --- a/image/cleanup.sh +++ b/image/cleanup.sh @@ -9,7 +9,7 @@ rm -rf /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* # clean up python bytecode -find / -name *.pyc -delete -find / -name *__pycache__* -delete +find / -mount -name *.pyc -delete +find / -mount -name *__pycache__* -delete rm -f /etc/ssh/ssh_host_*