Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix the dhcp clean up for Ubuntu 12.04 or newer's postinstall.sh #428

Merged
merged 1 commit into from

2 participants

@joneslee85

/var/lib/dhcp3 is not a correct path, should be /var/lib/dhcp

For more info, please see the Launchpad issue at https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/910108

@jedi4ever jedi4ever merged commit 03cfd61 into jedi4ever:master
@petecheslock petecheslock referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 22, 2012
  1. @joneslee85
This page is out of date. Refresh to see the latest.
View
2  templates/ubuntu-12.04.1-server-amd64-packages/postinstall.sh
@@ -57,7 +57,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
View
2  templates/ubuntu-12.04.1-server-amd64/postinstall.sh
@@ -78,7 +78,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
View
2  templates/ubuntu-12.04.1-server-i386-packages/postinstall.sh
@@ -57,7 +57,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
View
2  templates/ubuntu-12.04.1-server-i386/postinstall.sh
@@ -78,7 +78,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
View
2  templates/ubuntu-12.10-server-amd64-packages/postinstall.sh
@@ -60,7 +60,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
View
2  templates/ubuntu-12.10-server-amd64/postinstall.sh
@@ -82,7 +82,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
View
2  templates/ubuntu-12.10-server-i386-packages/postinstall.sh
@@ -60,7 +60,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
View
2  templates/ubuntu-12.10-server-i386/postinstall.sh
@@ -83,7 +83,7 @@ rm -f /EMPTY
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
-rm /var/lib/dhcp3/*
+rm /var/lib/dhcp/*
# Make sure Udev doesn't block our network
# http://6.ptmc.org/?p=164
Something went wrong with that request. Please try again.