Skip to content

Commit

Permalink
Fix dhcp settings clean up in Ubuntu 12.04 and higher
Browse files Browse the repository at this point in the history
  • Loading branch information
legal90 committed Nov 26, 2015
1 parent f92f1e0 commit 8140928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ubuntu/networking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
rm -f /etc/udev/rules.d/70-persistent-net.rules;
mkdir -p /etc/udev/rules.d/70-persistent-net.rules;
rm -f /lib/udev/rules.d/75-persistent-net-generator.rules;
rm -rf /dev/.udev/ /var/lib/dhcp3/*;
rm -rf /dev/.udev/ /var/lib/dhcp3/* /var/lib/dhcp/*;

# Adding a 2 sec delay to the interface up, to make the dhclient happy
echo "pre-up sleep 2" >>/etc/network/interfaces;

0 comments on commit 8140928

Please sign in to comment.