summaryrefslogtreecommitdiffstats
path: root/nova/paths.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/paths.py')
-rw-r--r--nova/paths.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/paths.py b/nova/paths.py
index 8d84289ae..8d8a632c0 100644
--- a/nova/paths.py
+++ b/nova/paths.py
@@ -18,6 +18,7 @@
# under the License.
import os
+import sys
from oslo.config import cfg
@@ -27,7 +28,7 @@ path_opts = [
'../')),
help='Directory where the nova python module is installed'),
cfg.StrOpt('bindir',
- default='$pybasedir/bin',
+ default=os.path.join(sys.prefix, 'local', 'bin'),
help='Directory where nova binaries are installed'),
cfg.StrOpt('state_path',
default='$pybasedir',