Skip to content

Commit 1e4dac7

Browse files
Add HOST_IP address to local conf
1 parent 8211a6f commit 1e4dac7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,13 @@ function _create_local_conf {
213213
pushd /opt/stack/devstack/
214214
cat <<EOL >"$LOCAL_CONFIG_PATH"
215215
[[local|localrc]]
216+
HOST_IP=$(ip route get 8.8.8.8 | grep "^8." | awk '{ print $7 }')
216217
SERVICE_DIR=$HOME/status
217218
GLOBAL_VENV=False
218219
LOGFILE=\$DATA_DIR/logs/stack.log
219220
VERBOSE=True
220221
IP_VERSION=4
222+
IPV6_ENABLED=False
221223
222224
MYSQL_PASSWORD=${MYSQL_PASSWORD:-$PASSWORD}
223225
DATABASE_PASSWORD=${DATABASE_PASSWORD:-$PASSWORD}

0 commit comments

Comments
 (0)