Skip to content

Commit 7d9686c

Browse files
committed
fix flag parse issue
separate flag name and flag value with equal sign instand of space. Signed-off-by: Jizhong Jiang <[email protected]>
1 parent f7b77a0 commit 7d9686c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/v2plugin/startcontiv.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ set +e
5959

6060
echo "Starting Netplugin " >> $BOOTUP_LOGFILE
6161
while true ; do
62-
echo "/netplugin $dbg_flag -plugin-mode $plugin_mode $vxlan_port_cfg -vlan-if $iflist -cluster-store $cluster_store $ctrl_ip_cfg $vtep_ip_cfg" >> $BOOTUP_LOGFILE
63-
/netplugin $dbg_flag -plugin-mode $plugin_mode $vxlan_port_cfg -vlan-if $iflist -cluster-store $cluster_store $ctrl_ip_cfg $vtep_ip_cfg &> $log_dir/netplugin.log
62+
echo "/netplugin $dbg_flag -plugin-mode=$plugin_mode $vxlan_port_cfg -vlan-if=$iflist -cluster-store=$cluster_store $ctrl_ip_cfg $vtep_ip_cfg" >> $BOOTUP_LOGFILE
63+
/netplugin $dbg_flag -plugin-mode=$plugin_mode $vxlan_port_cfg -vlan-if=$iflist -cluster-store=$cluster_store $ctrl_ip_cfg $vtep_ip_cfg &> $log_dir/netplugin.log
6464
echo "CRITICAL : Net Plugin has exited, Respawn in 5" >> $BOOTUP_LOGFILE
6565
mv $log_dir/netplugin.log $log_dir/netplugin.log.lastrun
6666
sleep 5

0 commit comments

Comments
 (0)