summaryrefslogtreecommitdiffstats
path: root/snippets
diff options
context:
space:
mode:
authorJames Laska <jlaska@redhat.com>2008-12-12 14:26:27 -0500
committerJames Laska <jlaska@redhat.com>2008-12-12 14:26:27 -0500
commit5d220e62a9245395ea66c38b7433b1413d2aae1b (patch)
tree74546893cfeb686e73918117c82917b2dea3ebac /snippets
parent6b769c44bd7ddf5e3a3b2cf7fc0415392596ab03 (diff)
parent70f597912b3915926c079243765c09a62f14f193 (diff)
downloadcobbler-5d220e62a9245395ea66c38b7433b1413d2aae1b.tar.gz
cobbler-5d220e62a9245395ea66c38b7433b1413d2aae1b.tar.xz
cobbler-5d220e62a9245395ea66c38b7433b1413d2aae1b.zip
Merge commit 'origin/devel' into devel
Diffstat (limited to 'snippets')
-rw-r--r--snippets/post_install_network_config7
1 files changed, 7 insertions, 0 deletions
diff --git a/snippets/post_install_network_config b/snippets/post_install_network_config
index 3c78e36d..9e121f1a 100644
--- a/snippets/post_install_network_config
+++ b/snippets/post_install_network_config
@@ -228,6 +228,7 @@
echo "HWADDR=\$MAC" >> $devfile
echo "ONBOOT=yes" >> $devfile
+
#if $bonding.lower() == "slave" and $bonding_master != ""
## if needed setup bonding
@@ -273,6 +274,12 @@
# If you end up here, please mail the list... This shouldn't
# happen. ;-)
#end if
+
+ #set $nct = 0
+ #for $nameserver in $name_servers
+ #set $ct = $nct + 1
+ echo "DNS$ct=$nameserver" >> $devfile
+ #end for
#for $route in $static_routes
#set routepattern = $re.compile("[0-9/.]+:[0-9.]+")