Cpyint predefined questions to install
oginstaller/pipeline/head There was a failure building this commit Details

malaga-automated-testing
Nicolas Arenas 2025-01-16 14:54:03 +01:00
parent fe84920048
commit 90e419fa4c
1 changed files with 4 additions and 2 deletions

View File

@ -37,7 +37,9 @@ EXTIP=$(ip -o -4 addr show "$INTERFACE" | awk '{print $4}' | cut -d'/' -f1)
echo "La dirección IP de la interfaz $INTERFACE es: $EXTIP"
export BRANCH=malaga-automated-testing
curl -q -k https://ognproject.evlt.uma.es/gitea/api/v1/repos/opengnsys/oginstaller/raw/python-installer/opengnsys_installer.sh?ref=python-installer -o opengnsys_installer.sh
chmod 755 opengnsys_installer.sh
cp /tmp/questions/config* /tmp/oginstall
/tmp/oginstall/component-installer.sh
OEOL
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
@ -56,7 +58,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end
config.vm.box = "esxi_clone/dummy"
config.vm.hostname = "og-#{BRANCH_EXTRA}"
config.vm.provision "file" , source: "config/config*", destination: "/tmp/oginstall/"
config.vm.provision "file" , source: "config/config*", destination: "/tmp/questions/"
config.vm.provision "shell", inline: OGSERVERSCRIPT
end