From 5b8a4d48cfc30bbe21bf07e11214681fceb2f805 Mon Sep 17 00:00:00 2001 From: Glenn Date: Wed, 5 Apr 2023 00:21:14 +0200 Subject: [PATCH] fix: Add better network config --- vagrant--devstack/provision/openstack.sh | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/vagrant--devstack/provision/openstack.sh b/vagrant--devstack/provision/openstack.sh index 5ad090e..9b6a56b 100755 --- a/vagrant--devstack/provision/openstack.sh +++ b/vagrant--devstack/provision/openstack.sh @@ -11,6 +11,23 @@ ## sudo apt-get install -y git +## +## Create network +## +cat > /etc/network/interfaces.d/openstack < local.conf <<-MARK [[local|localrc]] -FLOATING_RANGE=192.168.1.224/27 +HOST_IP=172.16.0.1 +FLAT_INTERFACE=br25 +PUBLIC_INTERFACE=eth1 +FLOATING_RANGE=172.16.0.128/25 FIXED_RANGE=10.11.12.0/24 + ADMIN_PASSWORD=admin1pass DATABASE_PASSWORD=database2pass RABBIT_PASSWORD=rabbit3pass