Fixing routes
ogboot/pipeline/tag This commit looks good Details

main
Nicolas Arenas 2025-03-26 14:03:19 +01:00
parent e872dd0c82
commit 7025eebc52
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
api /opt/opengnsys/ogboot/api
api /opt/opengnsys/ogboot
etc /opt/opengnsys/ogboot
lib /opt/opengnsys/ogboot
bin /opt/opengnsys/ogboot

View File

@ -7,7 +7,7 @@ set -e
. /usr/share/debconf/confmodule
# Leer las variables de configuración
OGBOOT_DIR="/opt/opengnsys/ogboot"
OGBOOT_DIR="/opt/opengnsys/ogboot/api"
db_get opengnsys/ogboot_ip
OGBOOT_IP="$RET"
db_get opengnsys/ogboot_port
@ -28,7 +28,7 @@ IPXE_REPO="https://github.com/ipxe/ipxe.git"
USER="opengnsys"
USER_INFO=$(getent passwd "$USER")
DEFAULT_OGLIVE=$OGCORE_OGLIVE_URL
ENV_FILE=/opt/opengnsys/ogboot/.env.local.php
ENV_FILE=/opt/opengnsys/ogboot/api/.env.local.php
if [ -z "$USER_INFO" ]; then
echo "Error: El usuario '$USER' no existe." >&2
exit 1