autohelp: fix the nova_spice hook on juno

Change-Id: I7949840718958de315b7759658bb17d3a9e37a23
This commit is contained in:
Gauvain Pocentek 2015-03-03 17:18:27 +01:00
parent d781310e04
commit 87436ae530

View File

@ -36,6 +36,11 @@ def glance_store_config():
def nova_spice():
import os
# nova.cmd.__init__ before kilo requires to be imported before eventlet is.
# Since we can't make sure of that, we define this envvar to let nova know
# that the import is OK (see nova/cmd/__init__.py)
os.environ['EVENTLET_NO_GREENDNS'] = 'yes'
import nova.cmd.spicehtml5proxy # noqa