Fixing routes
ogboot/pipeline/tag This commit looks good
Details
ogboot/pipeline/tag This commit looks good
Details
parent
e872dd0c82
commit
7025eebc52
|
@ -1,4 +1,4 @@
|
||||||
api /opt/opengnsys/ogboot/api
|
api /opt/opengnsys/ogboot
|
||||||
etc /opt/opengnsys/ogboot
|
etc /opt/opengnsys/ogboot
|
||||||
lib /opt/opengnsys/ogboot
|
lib /opt/opengnsys/ogboot
|
||||||
bin /opt/opengnsys/ogboot
|
bin /opt/opengnsys/ogboot
|
||||||
|
|
|
@ -7,7 +7,7 @@ set -e
|
||||||
. /usr/share/debconf/confmodule
|
. /usr/share/debconf/confmodule
|
||||||
|
|
||||||
# Leer las variables de configuración
|
# Leer las variables de configuración
|
||||||
OGBOOT_DIR="/opt/opengnsys/ogboot"
|
OGBOOT_DIR="/opt/opengnsys/ogboot/api"
|
||||||
db_get opengnsys/ogboot_ip
|
db_get opengnsys/ogboot_ip
|
||||||
OGBOOT_IP="$RET"
|
OGBOOT_IP="$RET"
|
||||||
db_get opengnsys/ogboot_port
|
db_get opengnsys/ogboot_port
|
||||||
|
@ -28,7 +28,7 @@ IPXE_REPO="https://github.com/ipxe/ipxe.git"
|
||||||
USER="opengnsys"
|
USER="opengnsys"
|
||||||
USER_INFO=$(getent passwd "$USER")
|
USER_INFO=$(getent passwd "$USER")
|
||||||
DEFAULT_OGLIVE=$OGCORE_OGLIVE_URL
|
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
|
if [ -z "$USER_INFO" ]; then
|
||||||
echo "Error: El usuario '$USER' no existe." >&2
|
echo "Error: El usuario '$USER' no existe." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue