refs #1433 adds port of ogcore to postconf.lib

pull/7/head
Luis Gerardo Romero Garcia 2025-02-03 08:49:25 +01:00
parent e097e09617
commit 600dff2b2f
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 done
[ -n "$CFGFILE" ] || ogRaiseError $OG_ERR_NOTFOUND "ogagent.cfg" || return $? [ -n "$CFGFILE" ] || ogRaiseError $OG_ERR_NOTFOUND "ogagent.cfg" || return $?
# Parchear dirección del servidor OpenGnsys en el fichero de configuración de OGAgent. # 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"
} }