vagrant-lxc-base-boxes/debian/clean.sh
2018-04-15 09:55:37 -04:00

17 lines
232 B
Bash
Executable file

#!/bin/bash
set -e
source /etc/profile
echo "Cleaning up"
rm /script.sh
echo 'Removing temporary files...'
rm -rf /tmp/*
echo 'cleaning up dhcp leases'
rm -f /var/lib/dhcp/*
echo 'Removing downloaded packages...'
apt-get clean