summaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-11-23 09:35:23 +0800
committerQiLiang <liangqi1@huawei.com>2016-11-23 09:35:23 +0800
commit95120f9963e65f4f050b043c3fd8caa8c6503960 (patch)
treece4fff6c0a75b723b30028e6e15b749f70121f83 /deploy/adapters
parentb15421ac53b8f57011613e29505cd8c0275b5066 (diff)
FIX cobbler system edit cmd args error
use "--static=1" to set server nic to static mode JIRA: COMPASS-489 Change-Id: I4d8d90f861b6b264575fc0781f585a6ef6bd1c70 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/adapters')
-rw-r--r--deploy/adapters/cobbler/snippets/preseed_post_install_network_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/cobbler/snippets/preseed_post_install_network_config b/deploy/adapters/cobbler/snippets/preseed_post_install_network_config
index 42df3cb6..cb79c556 100644
--- a/deploy/adapters/cobbler/snippets/preseed_post_install_network_config
+++ b/deploy/adapters/cobbler/snippets/preseed_post_install_network_config
@@ -441,7 +441,7 @@ echo "" >> /etc/network/interfaces
used_logical_interface_$iname=$iname
- #if $iface_type in ("slave","bond_slave","bridge_slave","bonded_bridge_slave","static")
+ #if $iface_type in ("slave","bond_slave","bridge_slave","bonded_bridge_slave")
#set $static = 1
#end if
echo "auto $iname" >> /etc/network/interfaces