Filip Pytloun | 077322e | 2015-06-25 19:18:33 +0200 | [diff] [blame] | 1 | apt-get -y autoremove |
jan kaufman | a519d7b | 2015-03-04 00:51:47 +0100 | [diff] [blame] | 2 | apt-get -y clean |
| 3 | |
| 4 | echo "cleaning up guest additions" |
| 5 | rm -rf VBoxGuestAdditions_*.iso VBoxGuestAdditions_*.iso.? |
| 6 | |
| 7 | echo "cleaning up dhcp leases" |
| 8 | rm /var/lib/dhcp/* |
| 9 | |
| 10 | echo "cleaning up udev rules" |
| 11 | rm /etc/udev/rules.d/70-persistent-net.rules |
| 12 | mkdir /etc/udev/rules.d/70-persistent-net.rules |
| 13 | rm -rf /dev/.udev/ |
| 14 | rm /lib/udev/rules.d/75-persistent-net-generator.rules |