From b3366b365edc25e33771b25855dee53e1f4dd5c7 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Wed, 20 Nov 2024 18:26:00 +0100 Subject: [PATCH] Adjust Ipcore parameter for installation --- installer/installer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer/installer.sh b/installer/installer.sh index 94b18a8..4fd4481 100644 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -6,6 +6,7 @@ GIT_BRANCH=$1 GIT_REPO=https://ognproject.evlt.uma.es/gitea/opengnsys/ogrepository.git GIT_SSL_NO_VERIFY=true REPO_IP=${REPO_IP:-"127.0.0.1"} +CORE_IP=${CORE_IP:-"127.0.0.1"} OGUSER=${OGUSER:-"opengnsys"} OGPASS=${OGPASS:-"og"} INSTALL_DIR=/opt/opengnsys/ogrepository @@ -83,6 +84,7 @@ install_files() { chown -R $OGUSER:$OGUSER $INSTALL_DIR chmod 755 $INSTALL_DIR/bin/* echo IPlocal="$REPO_IP" > $INSTALL_DIR/etc/ogAdmRepo.cfg + echo IPcore="$CORE_IP" >> $INSTALL_DIR/etc/ogAdmRepo.cfg sudo chown $OGUSER:$OGUSER $INSTALL_DIR/etc/ogAdmRepo.cfg }