Fix the IPv6 enablement

This commit fixes the order of enabling the IPv6 support on DevStack.
Otherwise installation fails.

Change-Id: Ibfd23c108dd2d4718744099cb288cb063e679826
This commit is contained in:
Maysa Macedo 2020-10-14 17:25:38 +02:00
parent c4dcfdf2c1
commit 642e030ca2
1 changed files with 3 additions and 3 deletions

View File

@ -14,12 +14,12 @@ set -ex
export HOST_IP=127.0.0.1 export HOST_IP=127.0.0.1
# run script
bash /vagrant/devstack.sh "$1"
# Enable IPv6 # Enable IPv6
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0 sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
# run script
bash /vagrant/devstack.sh "$1"
#set environment variables for kuryr #set environment variables for kuryr
su "$OS_USER" -c "echo 'source /vagrant/config/kuryr_rc' >> ~/.bash_profile" su "$OS_USER" -c "echo 'source /vagrant/config/kuryr_rc' >> ~/.bash_profile"