Adjust Ipcore parameter for installation
parent
0f63862815
commit
b3366b365e
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue