>From a009d16f6521bfab9e947f1b1da5e7ce4eab7c9e Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof <[email protected]> Date: Fri, 20 Feb 2009 13:39:35 +0100 Subject: [PATCH] Use name server in old-style network config if available.
---
snippets/network_config | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/snippets/network_config b/snippets/network_config
index a1ab5e4..ec1c9ac 100644
--- a/snippets/network_config
+++ b/snippets/network_config
@@ -47,6 +47,10 @@
#if $gateway != "":
#set $network_str = $network_str + "
--gateway=" + $gateway
#end if
+ #if $name_servers and $name_servers[0] != "":
+ ## Anaconda only allows one nameserver
+ #set $network_str = $network_str + "
--nameserver=" + $name_servers[0]
+ #end if
#else
#set $network_str = "--bootproto=none"
#end if
--
1.5.5.1
Regards,
Ruben
0001-Use-name-server-in-old-style-network-config-if-avail.patch
Description: application/mbox
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
