File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,20 @@ if [[ $EUID -eq 0 ]]; then
93
93
exit 1
94
94
fi
95
95
96
+ # OpenStack is designed to run at a system level, with system level
97
+ # installation of python packages. It does not support running under a
98
+ # virtual env, and will fail in really odd ways if you do this. Make
99
+ # this explicit as it has come up on the mailing list.
100
+ if [[ -n " $VIRTUAL_ENV " ]]; then
101
+ echo " You appear to be running under a python virtualenv."
102
+ echo " DevStack does not support this, as we my break the"
103
+ echo " virtualenv you are currently in by modifying "
104
+ echo " external system-level components the virtualenv relies on."
105
+ echo " We reccommend you use a separate virtual-machine if "
106
+ echo " you are worried about DevStack taking over your system."
107
+ exit 1
108
+ fi
109
+
96
110
# Provide a safety switch for devstack. If you do a lot of devstack,
97
111
# on a lot of different environments, you sometimes run it on the
98
112
# wrong box. This makes there be a way to prevent that.
You can’t perform that action at this time.
0 commit comments