summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2014-08-07 18:06:39 +1000
committerJoshua Hesketh <josh@nitrotech.org>2014-08-07 18:06:39 +1000
commita003f9e3c4e77302fae88a45cdf70ff3cc101bfe (patch)
tree620fdebc688ad196f72a0badd094401a6176702d
parent2f09fbf2433e42be70a78021a8fa68a0a118b770 (diff)
downloadturbo-hipster-a003f9e3c4e77302fae88a45cdf70ff3cc101bfe.tar.gz
Disable site packages
The site packages were causing errors with setuptools and oslo.messaging Change-Id: Id9ff0835323d242b95e94a8ae9d42676d72b036d
-rwxr-xr-xturbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
index ee9c83c..f621cf0 100755
--- a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
+++ b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
@@ -209,8 +209,8 @@ export WORKON_HOME=/var/lib/turbo-hipster/envs
VENV_PATH=$WORKON_HOME/$1
rm -rf $VENV_PATH
source /usr/local/bin/virtualenvwrapper.sh
-mkvirtualenv $1
-toggleglobalsitepackages
+mkvirtualenv --no-site-packages $1
+#toggleglobalsitepackages
export PYTHONPATH=$PYTHONPATH:$3
if [ ! -e $VENV_PATH ]