Merge "Fix vagrant scripts to add IPv6 correctly"

This commit is contained in:
Zuul 2018-01-28 11:08:21 +00:00 committed by Gerrit Code Review
commit f39e4ef5d4
4 changed files with 4 additions and 12 deletions

View File

@ -22,8 +22,4 @@ SERVICE_HOST_NAME=\${HOSTNAME}
SERVICE_HOST=$ipaddress
DEVSTACKEOF
# Patch to enable IPv6
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
sudo echo "net.ipv6.conf.all.disable_ipv6 = 0" >> /etc/sysctl.conf
~/devstack/stack.sh

View File

@ -16,3 +16,7 @@ fi
if [ ! -d "dragonflow" ]; then
git clone https://git.openstack.org/openstack/dragonflow.git
fi
# Patch to enable IPv6
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
sudo sh -c 'echo "net.ipv6.conf.all.disable_ipv6 = 0" >> /etc/sysctl.conf'

View File

@ -18,8 +18,4 @@ cat << DEVSTACKEOF >> devstack/local.conf
HOSTNAME=$(hostname)
DEVSTACKEOF
# Patch to enable IPv6
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
sudo echo "net.ipv6.conf.all.disable_ipv6 = 0" >> /etc/sysctl.conf
~/devstack/stack.sh

View File

@ -23,8 +23,4 @@ SERVICE_HOST_NAME=${HOSTNAME}
SERVICE_HOST=$ipaddress
DEVSTACKEOF
# Patch to enable IPv6
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
sudo echo "net.ipv6.conf.all.disable_ipv6 = 0" >> /etc/sysctl.conf
~/devstack/stack.sh