diff --git a/etc/nginxServer.conf.tmpl b/etc/nginxServer.conf.tmpl index 9c2c6da..a018356 100644 --- a/etc/nginxServer.conf.tmpl +++ b/etc/nginxServer.conf.tmpl @@ -1,5 +1,5 @@ server { - listen 80; + listen 8080; server_name __SERVERIP__ localhost; # IP del servidor # RaĆ­z del documento para el proyecto Symfony diff --git a/installer/ogboot_installer_init.sh b/installer/ogboot_installer_init.sh index 34c541a..691eec8 100644 --- a/installer/ogboot_installer_init.sh +++ b/installer/ogboot_installer_init.sh @@ -1,20 +1,19 @@ #!/bin/bash - +set -x URL_REPO="https://ognproject.evlt.uma.es/gitea/opengnsys/ogboot.git" -BRANCH=${"OGBOOT_BRANCH":-"main"} -$DOWNLOADDIR=${"OGBOOT_DOWNLOADDIR":-"/tmp/ogboot"} - -apt install -y git vim python3 +BRANCH=${OGBOOT_BRANCH:-"main"} +DOWNLOADDIR=${OGBOOT_DOWNLOADDIR:-"/tmp/ogboot"} +apt install -y git vim python3 git config --global http.sslVerify false git clone -b $BRANCH $URL_REPO $DOWNLOADDIR cd $DOWNLOADDIR/installer -ogCore_ServerIP=${"$1":-"172.17.8.82"} -ogBoot_ServerIP=${"$2":-"172.17.8.37"} -ogBoot_Dir=${"$3":-"/opt/opengnsys/ogboot"} -ogLive_Default=${"$4":-"https://ognproject.evlt.uma.es/oglive//ogLive-noble-6.8.0-31-generic-amd64-r20241017.76908e62_20241113.iso"} -ogBootSambaUser=${"$5":-"opengnsys"} -ogBootSambaPass=${"$6":-"og"} +ogCore_ServerIP=${1:-"172.17.8.82"} +ogBoot_ServerIP=${2:-"172.17.8.37"} +ogBoot_Dir=${3:-"/opt/opengnsys/ogboot"} +ogLive_Default=${4:-"https://ognproject.evlt.uma.es/oglive//ogLive-noble-6.8.0-31-generic-amd64-r20241017.76908e62_20241113.iso"} +ogBootSambaUser=${5:-"opengnsys"} +ogBootSambaPass=${6:-"og"} cat > config.json < config.json <