summaryrefslogtreecommitdiffstats
path: root/snippets
diff options
context:
space:
mode:
authorJasper Capel <capel@stone-it.com>2009-03-05 15:57:18 +0100
committerJasper Capel <capel@stone-it.com>2009-03-05 16:44:41 +0100
commitc087a71a0e43b3f03856861dcb3ff07d1f841438 (patch)
treebb08c137bc069b3c20d509ee08d9f18ea63b6275 /snippets
parentad1e9cefafbdb8f63cab54cf244ad04d67272e45 (diff)
downloadcobbler-c087a71a0e43b3f03856861dcb3ff07d1f841438.tar.gz
cobbler-c087a71a0e43b3f03856861dcb3ff07d1f841438.tar.xz
cobbler-c087a71a0e43b3f03856861dcb3ff07d1f841438.zip
$static was changed to boolean, fix rendering of the snippet
Diffstat (limited to 'snippets')
-rw-r--r--snippets/post_install_network_config6
1 files changed, 3 insertions, 3 deletions
diff --git a/snippets/post_install_network_config b/snippets/post_install_network_config
index 8715e778..e6839f77 100644
--- a/snippets/post_install_network_config
+++ b/snippets/post_install_network_config
@@ -116,7 +116,7 @@ echo "MASTER=$bonding_master" >> $devfile
## see Red Hat bugzilla 442339
echo "HOTPLUG=no" >> $devfile
#end if
- #if $static.lower() == "true" or $bonding.lower() == "slave"
+ #if $static or $bonding.lower() == "slave"
## for static or slave interfaces
#if $ip != "" and $bonding.lower() != "slave"
## Only configure static networking if an IP-address is
@@ -152,7 +152,7 @@ BONDING_OPTS="$bonding_opts"
EOF
#end if
echo "ONPARENT=yes" >> $devfile
- #if $static.lower() == "true"
+ #if $static
## for static non-physical interfaces...
#if $ip != ""
## Only configure static networking if an IP-address is
@@ -186,7 +186,7 @@ echo "MASTER=$bonding_master" >> $devfile
## see Red Hat bugzilla 442339
echo "HOTPLUG=no" >> $devfile
#end if
- #if $static.lower() == "true" or $bonding.lower() == "slave"
+ #if $static or $bonding.lower() == "slave"
## for static or slave interfaces
#if $ip != "" and $bonding.lower() != "slave"
## Only configure static networking if an IP-address is