summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Pittau <elfosardo@gmail.com>2023-01-02 10:10:50 +0100
committerRiccardo Pittau <elfosardo@gmail.com>2023-01-02 10:10:50 +0100
commit7150478cd84f77aff294fc8be71f58123c8e14df (patch)
treeec0a563d81b40429d921ffbdb714e11c7dc0b4ba
parent6b84fbf8f2a92fc9c591e26eeec4b69cc1aa2ffe (diff)
downloadironic-7150478cd84f77aff294fc8be71f58123c8e14df.tar.gz
Fix unbound variable in devstack plugin
The RC_DIR does not existed (and it never existed, it was SRC_DIR) Change that to TOP_DIR which is what we use commonly in other sections. Change-Id: I4a400fd434a20938cd38c0bb876da21fec7473a1
-rw-r--r--devstack/plugin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index f49c63d38..306569f51 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -15,7 +15,7 @@ if is_service_enabled ir-api ir-cond; then
echo_summary "Installing Ironic"
if ! is_service_enabled nova; then
- source $RC_DIR/lib/nova_plugins/functions-libvirt
+ source $TOP_DIR/lib/nova_plugins/functions-libvirt
install_libvirt
fi
install_ironic