Update provision and swagger init file
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
testing/og-dhcp-API/pipeline/head There was a failure building this commit
Details
parent
8e2f093da1
commit
62134cd7fd
|
@ -3,7 +3,7 @@ window.onload = function() {
|
|||
|
||||
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
|
||||
window.ui = SwaggerUIBundle({
|
||||
url: "http://192.168.0.27:8080/swagger.json",
|
||||
url: "http://{{SERVER_NAME}}/swagger.json",
|
||||
dom_id: '#swagger-ui',
|
||||
deepLinking: true,
|
||||
presets: [
|
||||
|
|
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue