diff options
author | 2016-11-28 16:14:35 +0800 | |
---|---|---|
committer | 2016-11-28 16:14:35 +0800 | |
commit | 7cb9393560159ab09aab6f5c63f812bbe8d5743e (patch) | |
tree | afc5f96a8904603cdefa5c4d9a66b15312cc4d29 /deploy/adapters/cobbler/snippets | |
parent | b212b7ac454fea642d7637e7489ff69665e54289 (diff) |
FIX cobbler system edit cmd args error
use "--static=1" to set server nic to static mode
JIRA: COMPASS-489
Change-Id: I18df24505a8cf5587670c86df1275b34bfb0837a
Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/adapters/cobbler/snippets')
-rw-r--r-- | deploy/adapters/cobbler/snippets/preseed_post_install_network_config | 2 |
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 |