blob: a6b5d9fd4ad3375f2cb0315979807763c3f3246e [file] [log] [blame]
Filip Pytlouna20f9e22016-02-16 13:07:03 +01001echo "cleaning up packages"
2yum -y clean all
3
4echo "cleaning up hostname"
5sed -i "/.*debian-8.*/d" /etc/hosts
6
7echo "cleaning up guest additions"
8rm -rf VBoxGuestAdditions_*.iso VBoxGuestAdditions_*.iso.? || true
9
10echo "cleaning up dhcp leases"
11rm -f /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