Update provision and swagger init file

nginx_conf
Nicolas Arenas 2024-10-01 09:28:16 +02:00 committed by Nicolas Arenas
parent a199e79317
commit b0e2fbfaa9
1 changed files with 5 additions and 0 deletions

View File

@ -3,10 +3,15 @@
# in the wiki: https://github.com/josenk/vagrant-vmware-esxi/wiki
$script = <<SCRIPT
SERVER_NAME=localhost
echo "Provisioning with shell script..."
cd /vagrant/installer
chmod +x ogdhcp_installer.sh && ./ogdhcp_installer.sh
cp /vagrant/tests/API-dhcp/assets/kea-ctrl-agent.conf /etc/kea/kea-ctrl-agent.conf
a2ensite ogdhcp.conf
a2disite 000-default.conf
systemctl restart apache2
sed -i "s|{{SERVER_NAME}}|${SERVER_NAME}|g" <nombre_del_archivo>
SCRIPT
Vagrant.configure('2') do |config|