Sha256: 1b2607abc91cdd4db2f4f88abaa334e2554d8b2f9432adf36843b1d61bc308fe

Contents?: true

Size: 493 Bytes

Versions: 23

Compression:

Stored size: 493 Bytes

Contents

# 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

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
veewee-0.3.0.alpha3 templates/ubuntu-11.04-server-amd64/network-cleanup.sh
veewee-0.3.0.alpha2 templates/ubuntu-11.04-server-amd64/network-cleanup.sh
veewee-0.3.0.alpha1 templates/ubuntu-11.04-server-amd64/network-cleanup.sh