From c94eb098cadaaa410522f5b31a6e187b1a645c2a Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Tue, 29 Oct 2024 09:49:52 +0100 Subject: [PATCH] Read ogcore version from component installer --- component-installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/component-installer.sh b/component-installer.sh index 623b0a0..a671ab4 100644 --- a/component-installer.sh +++ b/component-installer.sh @@ -22,6 +22,7 @@ function install_ogcore_docker() { # Leer el JSON y extraer los valores con jq user=$(jq -r '.username' /opt/opengnsys/ogCore/installer/config.json) password=$(jq -r '.password' /opt/opengnsys/ogCore/installer/config.json) + ogcore_version=$(jq -r '.container_version' /opt/opengnsys/ogCore/installer/config.json) # Exportar los valores como variables de entorno export USER_NAME="$user"