summaryrefslogtreecommitdiffstats
path: root/snippets/post_install_network_config
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-10-13 13:09:21 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-10-13 13:09:21 -0400
commitaf02e403fc201dd999cf12fe2c35276d2ba51ad0 (patch)
treeab01b7ed3562e13c8970a906b3b6940d5da51ab8 /snippets/post_install_network_config
parent02b5e3977235311d95d665b36b9e8c00cd88d9a8 (diff)
downloadcobbler-af02e403fc201dd999cf12fe2c35276d2ba51ad0.tar.gz
cobbler-af02e403fc201dd999cf12fe2c35276d2ba51ad0.tar.xz
cobbler-af02e403fc201dd999cf12fe2c35276d2ba51ad0.zip
Use static variable for post install network setup
Diffstat (limited to 'snippets/post_install_network_config')
-rw-r--r--snippets/post_install_network_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/snippets/post_install_network_config b/snippets/post_install_network_config
index a362f699..e7ef16dc 100644
--- a/snippets/post_install_network_config
+++ b/snippets/post_install_network_config
@@ -31,7 +31,7 @@
echo "DEVICE=$iname" > $devfile
echo "HWADDR=$mac" >> $devfile
echo "ONBOOT=yes" >> $devfile
- #if $ip != ""
+ #if $static.lower() == "true"
echo "BOOTPROTO=static" >> $devfile
echo "IPADDR=$ip" >> $devfile
#if $netmask == ""