blob: 0017f499e771ef264f8a331196c4caaf08ca87f0 [file] [log] [blame]
Filip Pytlounac2be792016-01-08 12:09:49 +01001apt-get -y autoremove --purge
2apt-get -y clean
3
Filip Pytlouna359bae2016-01-28 17:38:51 +01004echo "cleaning up hostname"
5sed -i "/.*debian-8.*/d" /etc/hosts
6
Filip Pytlounac2be792016-01-08 12:09:49 +01007echo "cleaning up guest additions"
8rm -rf VBoxGuestAdditions_*.iso VBoxGuestAdditions_*.iso.? || true
9
10echo "cleaning up dhcp leases"
11rm /var/lib/dhcp/* || true
12
13echo "cleaning up udev rules"
14rm -f /etc/udev/rules.d/70-persistent-net.rules || true
15rm -rf /dev/.udev/ || true
16rm -f /lib/udev/rules.d/75-persistent-net-generator.rules || true
17
18echo "cleaning up minion_id for salt"
19rm -f /etc/salt/minion_id || true
20