From b42cb229a3fa8142421c25400a15ca7e5b4d05e1 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Thu, 10 Jul 2014 22:00:47 -0400 Subject: [PATCH] Update the cinder-lio element to use the venv dir This updates the cinder-lio element to make use of the CINDER_VENV_DIR variable which is set by the cinder element. This allows source installs of this element to work correctly when using common-env or a custom Cinder venv directory. Change-Id: Idb8a97180045869595416cf0b17aec70a63d9055 --- .../install.d/cinder-source-install/73-cinder-rtstool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/cinder-lio/install.d/cinder-source-install/73-cinder-rtstool b/elements/cinder-lio/install.d/cinder-source-install/73-cinder-rtstool index 7e4748747..d93ec0d8f 100755 --- a/elements/cinder-lio/install.d/cinder-source-install/73-cinder-rtstool +++ b/elements/cinder-lio/install.d/cinder-source-install/73-cinder-rtstool @@ -2,4 +2,4 @@ set -eu -ln -sf /opt/stack/venvs/cinder/bin/cinder-rtstool /usr/local/bin/cinder-rtstool \ No newline at end of file +ln -sf $CINDER_VENV_DIR/bin/cinder-rtstool /usr/local/bin/cinder-rtstool