summaryrefslogtreecommitdiffstats
path: root/snippets/post_install_network_config
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/post_install_network_config')
-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.]+")