diff --git a/ovn_cluster.sh b/ovn_cluster.sh index 7cf4cb9..6a428b7 100755 --- a/ovn_cluster.sh +++ b/ovn_cluster.sh @@ -516,7 +516,11 @@ function start-db-cluster() { function start-ovn-ic() { if [ "$OVN_START_IC_DBS" = "yes" ]; then if [ -z "$CENTRAL_IC_ID" ]; then - CENTRAL_IC_ID="${CENTRAL_NAMES[0]}"-1 + if [ "$OVN_DB_CLUSTER" = "yes" ]; then + CENTRAL_IC_ID="${CENTRAL_NAMES[0]}"-1 + else + CENTRAL_IC_ID="${CENTRAL_NAMES[0]}" + fi fi ${RUNC_CMD} exec $CENTRAL_IC_ID ${OVNCTL_PATH} \