Fix devstack path in plugin.sh

devstack is not necessarily cloned to "$DEST/devstack"
("/opt/stack/devstack"), it can be run from any other directory.
$TOP_DIR [1] should be used when referring to the devstack working dir.

[1] https://opendev.org/openstack/devstack/src/commit/\
6af3cb9eb273c127c20bc07f65c9a5d7f8ba95cd/stack.sh#L73

Change-Id: Ibf4890985b6d07077d04f989eab833ae5b057200
This commit is contained in:
Gregory Thiemonge 2021-06-18 16:57:56 +02:00
parent b08310df9f
commit 5b5bc483ae

View File

@ -20,7 +20,7 @@ source $LIBDIR/octavia
source $LIBDIR/loki
# source the OVS/OVN compilation helper methods
source $DEST/devstack/lib/neutron_plugins/ovs_source
source $TOP_DIR/lib/neutron_plugins/ovs_source
Q_BUILD_OVS_FROM_GIT=$(trueorfalse False Q_BUILD_OVS_FROM_GIT)