From e04def47ba15232a563879240c015113b1a704d2 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 12 Dec 2008 11:57:39 -0500 Subject: Add nameservers to ifcfg --- snippets/post_install_network_config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'snippets') diff --git a/snippets/post_install_network_config b/snippets/post_install_network_config index 3c78e36d..24c6f5d0 100644 --- a/snippets/post_install_network_config +++ b/snippets/post_install_network_config @@ -130,6 +130,12 @@ rm -f /etc/modprobe.conf mv /etc/modprobe.conf.new /etc/modprobe.conf + #set $nct = 0 + #for $nameserver in $name_servers + #set $ct = $nct + 1 + echo "DNS$ct=$nameserver" >> $devfile + #end for + echo "DEVICE=$iname" > $devfile echo "HWADDR=$mac" >> $devfile echo "ONBOOT=yes" >> $devfile -- cgit