Updating installer to get it working with gitea

pull/1/head
Nicolas Arenas 2023-09-13 20:00:58 +02:00
parent feba34d7b7
commit b4f6d4b305
2 changed files with 1880 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -64,7 +64,8 @@ elif which wget &>/dev/null; then
DOWNLOAD="wget -q -O -"
fi
BRANCH="$OGVERSION"
$DOWNLOAD "https://$GITEA_USER:$GITEA_TOKEN@ognproject.evlt.uma.es/gitea/unizar/opengnsys/raw/branch/${BRANCH}/installer/opengnsys_installer.sh" | bash || exit $?
$DOWNLOAD "https://$GITEA_USER:$GITEA_TOKEN@ognproject.evlt.uma.es/gitea/unizar/opengnsys/raw/branch/${BRANCH}/installer/opengnsys_installer_devel_esxi.sh" | bash -s -- $BRANCH || exit $?
mv /opt/opengnsys/log/bash.log /opt/opengnsys/log/opengnsys_installer.log
echo y | /opt/opengnsys/bin/setserveraddr $(ip -o link show | tail -1 | cut -d: -f2)
# Insert DHCP data.