blob: 8b7bab8eaa06ee6653480f41bdf3b3592f421849 [file] [log] [blame]
Filip Pytlounac2be792016-01-08 12:09:49 +01001apt-get -y autoremove --purge
2apt-get -y clean
3
Filip Pytlouncb52dd52016-02-01 10:42:54 +01004rm -f /usr/sbin/policy-rc.d || true
5
Filip Pytlouna359bae2016-01-28 17:38:51 +01006echo "cleaning up hostname"
7sed -i "/.*debian-8.*/d" /etc/hosts
8
Filip Pytlounac2be792016-01-08 12:09:49 +01009echo "cleaning up guest additions"
10rm -rf VBoxGuestAdditions_*.iso VBoxGuestAdditions_*.iso.? || true
11
12echo "cleaning up dhcp leases"
Filip Pytlouncb52dd52016-02-01 10:42:54 +010013rm -f /var/lib/dhcp/* || true
Filip Pytlounac2be792016-01-08 12:09:49 +010014
15echo "cleaning up udev rules"
16rm -f /etc/udev/rules.d/70-persistent-net.rules || true
17rm -rf /dev/.udev/ || true
18rm -f /lib/udev/rules.d/75-persistent-net-generator.rules || true
19
20echo "cleaning up minion_id for salt"
21rm -f /etc/salt/minion_id || true
22