Read ogcore version from component installer
parent
f833f9edab
commit
c94eb098ca
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue