aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2016-06-17 14:46:58 +0200
committerMartin André <m.andre@redhat.com>2016-06-17 14:46:58 +0200
commit5718356eb23e614b27f0115e8e9ce4d96d4cb7ab (patch)
treebd2564e6ca8cbccf2aee81be865b667658f301ac /dev
parentacfe3b73aacafe4f118b62537b6acfc3b017def3 (diff)
downloadkolla-5718356eb23e614b27f0115e8e9ce4d96d4cb7ab.tar.gz
kolla-5718356eb23e614b27f0115e8e9ce4d96d4cb7ab.zip
Set internal vip to vagrant private network
In vagrant environments, the kolla_internal_vip_address didn't belong to the private network provisioned on the machine and was failing the prechecks. TrivialFix Change-Id: I0e7e4d134e350c49ef7510c7262677754a83bcbf
Diffstat (limited to 'dev')
-rw-r--r--dev/vagrant/bootstrap.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh
index e4a982a64..70d129de4 100644
--- a/dev/vagrant/bootstrap.sh
+++ b/dev/vagrant/bootstrap.sh
@@ -154,6 +154,8 @@ function configure_kolla {
# Set network interfaces
sed -i -r "s,^[# ]*network_interface:.+$,network_interface: \"eth1\"," /etc/kolla/globals.yml
sed -i -r "s,^[# ]*neutron_external_interface:.+$,neutron_external_interface: \"eth2\"," /etc/kolla/globals.yml
+ # Set VIP address to be on the vagrant private network
+ sed -i -r "s,^[# ]*kolla_internal_vip_address:.+$,kolla_internal_vip_address: \"172.28.128.254\"," /etc/kolla/globals.yml
}
# Configure the operator node and install some additional packages.