Skip to content

Commit 466db21

Browse files
committed
Add SSH port configuration
close #16
1 parent 42d62d2 commit 466db21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ installPackage
354354
###Update appjoint entrance linkis.properties
355355
echo "$SERVERNAME-step4:update linkis.properties"
356356
SERVER_CONF_PATH=$SERVER_HOME/$SERVERNAME/conf/linkis.properties
357-
ssh $SERVER_IP "sed -i \"s#wds.linkis.entrance.config.logPath.*#wds.linkis.entrance.config.logPath=$WORKSPACE_USER_ROOT_PATH#g\" $SERVER_CONF_PATH"
358-
ssh $SERVER_IP "sed -i \"s#wds.linkis.resultSet.store.path.*#wds.linkis.resultSet.store.path=$RESULT_SET_ROOT_PATH#g\" $SERVER_CONF_PATH"
357+
ssh -p $SSH_PORT $SERVER_IP "sed -i \"s#wds.linkis.entrance.config.logPath.*#wds.linkis.entrance.config.logPath=$WORKSPACE_USER_ROOT_PATH#g\" $SERVER_CONF_PATH"
358+
ssh -p $SSH_PORT $SERVER_IP "sed -i \"s#wds.linkis.resultSet.store.path.*#wds.linkis.resultSet.store.path=$RESULT_SET_ROOT_PATH#g\" $SERVER_CONF_PATH"
359359
isSuccess "subsitution linkis.properties of $SERVERNAME"
360360
echo "<----------------$SERVERNAME:end------------------->"
361361
echo ""
@@ -441,6 +441,6 @@ APPJOINTPARENT=dss-appjoints
441441
APPJOINTNAME=schedulis
442442
#schedulis appjoint install
443443
installAppjoints
444-
isSuccess "subsitution conf of qualitis"
444+
isSuccess "subsitution conf of schedulis"
445445
echo "<----------------$APPJOINTNAME:end------------------->"
446446
fi

0 commit comments

Comments
 (0)