refs #1433 adds ogcore port in postconf

engine-branch
Luis Gerardo Romero Garcia 2025-02-03 13:16:10 +01:00
parent 538e3fafe1
commit 8b8e241165
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ for AGENTDIR in usr/share/OGAgent "Program Files/OGAgent" "Program Files (x86)/O
done
[ -n "$CFGFILE" ] || ogRaiseError $OG_ERR_NOTFOUND "ogagent.cfg" || return $?
# Parchear dirección del servidor OpenGnsys en el fichero de configuración de OGAgent.
sed -i "0,/remote=/ s,remote=.*,remote=https://$(ogGetServerIp)/opengnsys/rest/," "$CFGFILE"
sed -i "0,/remote=/ s,remote=.*,remote=https://$(ogGetServerIp):8443/opengnsys/rest/," "$CFGFILE"
}