diff --git a/devstack/df-ext-services.sh b/devstack/df-ext-services.sh index d27b800e5..97b2564d5 100755 --- a/devstack/df-ext-services.sh +++ b/devstack/df-ext-services.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Locate devstack directory +TOP_DIR= + # Detect path for this script file DF_DIR=$(cd $(dirname "$0") && pwd) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 0a940977c..5d64bf2f3 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -128,6 +128,9 @@ function init_ovs { function install_df { + # Obtain devstack directory for df-ext-services.sh + sed -i "/^TOP_DIR=/cTOP_DIR=$TOP_DIR" $DEST/dragonflow/devstack/df-ext-services.sh + nb_db_driver_install_server nb_db_driver_install_client