Sha256: e6f1ae52737d26da698e97aaa2cbbb251de0888593dca3dcb086119159688d64

Contents?: true

Size: 438 Bytes

Versions: 24

Compression:

Stored size: 438 Bytes

Contents

#!/bin/bash

if [ -f .veewee_params ]
then
  . .veewee_params
fi

apt-get -y autoremove

dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY

echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*

echo "cleaning up udev rules"
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
rm -rf /dev/.udev/
rm /lib/udev/rules.d/75-persistent-net-generator.rules

echo "pre-up sleep 2" >> /etc/network/interfaces
exit

Version data entries

24 entries across 12 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.5.0.alpha4 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.5.0.alpha3 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.5.0.alpha3 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.5.0.alpha2 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.5.0.alpha2 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.5.0.alpha1 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.5.0.alpha1 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.4.5.1 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.4.5.1 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.4.5 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.4.5 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.4.5.pre1 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.4.5.pre1 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.4.4 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.4.4 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.4.3 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.4.3 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh
veewee-0.4.2 templates/ubuntu-13.04-server-amd64/cleanup.sh
veewee-0.4.2 templates/ubuntu-13.04-server-amd64-rvm/cleanup.sh