Filip Pytloun | 896f37b | 2015-06-25 18:35:42 +0200 | [diff] [blame] | 1 | apt-get -y autoremove --purge |
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 |
jan kaufman | 4d857a1 | 2015-08-13 18:45:03 +0200 | [diff] [blame^] | 15 | |
| 16 | echo "cleaning up minion_id for salt" |
| 17 | rm /etc/salt/minion_id |
| 18 | |