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:
parent
c4dcfdf2c1
commit
642e030ca2
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue