a very small patch
Dave Hatton
From 4f804ae45660793e70ab1b1c2e686b5d135e1481 Mon Sep 17 00:00:00 2001
From: Dave Hatton <dave(a)starground.it>
Date: Tue, 20 Jan 2009 15:54:16 +0000
Subject: [PATCH] Correct name server count to
---
snippets/post_install_network_config | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/snippets/post_install_network_config b/snippets/post_install_network_config
index 0a17bed..a0538bd 100644
--- a/snippets/post_install_network_config
+++ b/snippets/post_install_network_config
@@ -201,8 +201,8 @@ echo "BOOTPROTO=dhcp" >> $devfile
#end if
#set $nct = 0
#for $nameserver in $name_servers
- #set $ct = $nct + 1
-echo "DNS$ct=$nameserver" >> $devfile
+ #set $nct = $nct + 1
+echo "DNS$nct=$nameserver" >> $devfile
#end for
#for $route in $static_routes
#set routepattern = $re.compile("[0-9/.]+:[0-9.]+")
--
1.5.5.6