dragonflow/vagrant/provisioning/setup-aio.sh
Shachar Snapiri 59b1bee369 Remove redundant line from vagrant All-In-One script
There is a legacy code line that was left in the setup-aio.sh file that
is now redundant.
Removed it.

Change-Id: Ia0605c49659cd530a8da15e2bb70ba4e07150ca2
2018-03-22 15:38:27 +02:00

24 lines
602 B
Bash

#!/usr/bin/env bash
cp /dragonflow/doc/source/single-node-conf/etcd_local_controller.conf ~/devstack/local.conf
# Get the IP address
ipaddress=$(ifconfig eth1 2>/dev/null|awk '/inet addr:/ {split($2,a,":"); print a[2]}')
# Adjust some things in local.conf
cat << DEVSTACKEOF >> devstack/local.conf
# Adjust this in case we're running on a cloud which may use 10.0.0.x
# for VM IP addresses
NETWORK_GATEWAY=10.100.100.100
FIXED_RANGE=10.100.100.0/24
HOST_IP=$ipaddress
# Good to set these
HOSTNAME=$(hostname)
SERVICE_HOST_NAME=\${HOSTNAME}
SERVICE_HOST=$ipaddress
DEVSTACKEOF
~/devstack/stack.sh