refs #1134 Changes nginx portç
parent
33edcecfe0
commit
ccabf83b06
|
@ -1,5 +1,5 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 8080;
|
||||||
server_name __SERVERIP__ localhost; # IP del servidor
|
server_name __SERVERIP__ localhost; # IP del servidor
|
||||||
|
|
||||||
# Raíz del documento para el proyecto Symfony
|
# Raíz del documento para el proyecto Symfony
|
||||||
|
|
|
@ -1,20 +1,19 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -x
|
||||||
URL_REPO="https://ognproject.evlt.uma.es/gitea/opengnsys/ogboot.git"
|
URL_REPO="https://ognproject.evlt.uma.es/gitea/opengnsys/ogboot.git"
|
||||||
BRANCH=${"OGBOOT_BRANCH":-"main"}
|
BRANCH=${OGBOOT_BRANCH:-"main"}
|
||||||
$DOWNLOADDIR=${"OGBOOT_DOWNLOADDIR":-"/tmp/ogboot"}
|
DOWNLOADDIR=${OGBOOT_DOWNLOADDIR:-"/tmp/ogboot"}
|
||||||
|
|
||||||
apt install -y git vim python3
|
apt install -y git vim python3
|
||||||
git config --global http.sslVerify false
|
git config --global http.sslVerify false
|
||||||
git clone -b $BRANCH $URL_REPO $DOWNLOADDIR
|
git clone -b $BRANCH $URL_REPO $DOWNLOADDIR
|
||||||
cd $DOWNLOADDIR/installer
|
cd $DOWNLOADDIR/installer
|
||||||
|
|
||||||
ogCore_ServerIP=${"$1":-"172.17.8.82"}
|
ogCore_ServerIP=${1:-"172.17.8.82"}
|
||||||
ogBoot_ServerIP=${"$2":-"172.17.8.37"}
|
ogBoot_ServerIP=${2:-"172.17.8.37"}
|
||||||
ogBoot_Dir=${"$3":-"/opt/opengnsys/ogboot"}
|
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"}
|
ogLive_Default=${4:-"https://ognproject.evlt.uma.es/oglive//ogLive-noble-6.8.0-31-generic-amd64-r20241017.76908e62_20241113.iso"}
|
||||||
ogBootSambaUser=${"$5":-"opengnsys"}
|
ogBootSambaUser=${5:-"opengnsys"}
|
||||||
ogBootSambaPass=${"$6":-"og"}
|
ogBootSambaPass=${6:-"og"}
|
||||||
|
|
||||||
cat > config.json <<EOF
|
cat > config.json <<EOF
|
||||||
{
|
{
|
||||||
|
@ -26,3 +25,4 @@ cat > config.json <<EOF
|
||||||
"ogBootSambaPass": "$ogBootSambaPass"
|
"ogBootSambaPass": "$ogBootSambaPass"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
python3 ogboot_installer.py
|
||||||
|
|
Loading…
Reference in New Issue