templates/CentOS-5.9-i386/cleanup.sh in veewee-0.3.12 vs templates/CentOS-5.9-i386/cleanup.sh in veewee-0.4.0
- old
+ new
@@ -1,7 +1,11 @@
-yum -y erase gtk2 hicolor-icon-theme avahi freetype bitstream-vera-fonts
+# Clean up
+
yum -y clean all
-rm -rf /etc/yum.repos.d/{puppetlabs,epel}.repo
+rm -rf /etc/yum.repos.d/puppetlabs.repo
rm -rf VBoxGuestAdditions_*.iso
-# Remove traces of mac address from network configuration
+# Remove mac address from network configuration
sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
+
+# Remove DHCP leases
+rm /var/lib/dhclient/*.leases