Sha256: 306bc7b735d360fb03683def1e8ca48e2217a678d6f4b49f9a297688837069f1

Contents?: true

Size: 648 Bytes

Versions: 42

Compression:

Stored size: 648 Bytes

Contents

# Remove items used for building, since they aren't needed anymore
apt-get -y remove linux-headers-$(uname -r) build-essential
apt-get -y autoremove

# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
rm /var/lib/dhcp3/*

# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
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 "Adding a 2 sec delay to the interface up, to make the dhclient happy"
echo "pre-up sleep 2" >> /etc/network/interfaces
exit

Version data entries

42 entries across 23 versions & 2 rubygems

Version Path
veewee-0.3.12 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.11 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.10 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.9 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-atlassian-0.3.11 templates/ubuntu-10.10-server-amd64/cleanup.sh
veewee-atlassian-0.3.11 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.7 templates/ubuntu-10.10-server-amd64/cleanup.sh
veewee-0.3.7 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.6 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.6 templates/ubuntu-10.10-server-amd64/cleanup.sh
veewee-0.3.5 templates/ubuntu-10.10-server-amd64/cleanup.sh
veewee-0.3.5 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.4 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.4 templates/ubuntu-10.10-server-amd64/cleanup.sh
veewee-0.3.3 templates/ubuntu-10.10-server-amd64/cleanup.sh
veewee-0.3.3 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.2 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.2 templates/ubuntu-10.10-server-amd64/cleanup.sh
veewee-0.3.1 templates/ubuntu-10.04.3-server-amd64/cleanup.sh
veewee-0.3.1 templates/ubuntu-10.10-server-amd64/cleanup.sh