Only export the os version.

This commit is contained in:
Joshua Harlow
2012-09-11 17:04:39 -07:00
parent 930feac45f
commit 8d8fe82f25

View File

@@ -180,8 +180,7 @@ class NovaInstaller(comp.PythonInstallComponent):
@property
def env_exports(self):
to_set = OrderedDict()
to_set['NOVA_VERSION'] = self.get_option('nova_version')
to_set['COMPUTE_API_VERSION'] = self.get_option('nova_version')
to_set['OS_COMPUTE_API_VERSION'] = self.get_option('nova_version')
n_params = nhelper.get_shared_params(**self.options)
for (endpoint, details) in n_params['endpoints'].items():
to_set[("NOVA_%s_URI" % (endpoint.upper()))] = details['uri']