[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Revert network-nat script changes introduced by 16739:33dcf04d77152.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1200663622 0 # Node ID 4a6282589b90e7959b5495d81ae75a56b739b28d # Parent 80ea335cf209d9bbc93ad27f1ccc505af39fd097 Revert network-nat script changes introduced by 16739:33dcf04d77152. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/examples/network-nat | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -r 80ea335cf209 -r 4a6282589b90 tools/examples/network-nat --- a/tools/examples/network-nat Fri Jan 18 13:35:26 2008 +0000 +++ b/tools/examples/network-nat Fri Jan 18 13:40:22 2008 +0000 @@ -43,9 +43,9 @@ fi function dhcp_start() { - if ! grep -q "subnet 192.0.2.0" "$dhcpd_conf_file" + if ! grep -q "subnet 10.0.0.0" "$dhcpd_conf_file" then - echo >>"$dhcpd_conf_file" "subnet 192.0.2.0 netmask 255.255.255.0 {}" + echo >>"$dhcpd_conf_file" "subnet 10.0.0.0 netmask 255.255.0.0 {}" fi "$dhcpd_init_file" restart @@ -55,7 +55,7 @@ function dhcp_stop() function dhcp_stop() { local tmpfile=$(mktemp) - grep -v "subnet 192.0.2.0" "$dhcpd_conf_file" >"$tmpfile" + grep -v "subnet 10.0.0.0" "$dhcpd_conf_file" >"$tmpfile" if diff "$tmpfile" "$dhcpd_conf_file" >&/dev/null then rm "$tmpfile" _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |