From 09bab5aa37ecdd5ad9c5eb7fa146ee5b550f62f7 Mon Sep 17 00:00:00 2001 From: micafer Date: Fri, 11 Mar 2016 09:39:20 +0100 Subject: [PATCH] Add IM_NODE_CLOUD_TYPE var --- IM/ConfManager.py | 1 + changelog | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/IM/ConfManager.py b/IM/ConfManager.py index 9b613f2a7..9e87031d1 100644 --- a/IM/ConfManager.py +++ b/IM/ConfManager.py @@ -392,6 +392,7 @@ def generate_inventory(self, tmp_dir): node_line += ' IM_NODE_DOMAIN=' + nodedom node_line += ' IM_NODE_NUM=' + str(vm.im_id) node_line += ' IM_NODE_VMID=' + str(vm.id) + node_line += ' IM_NODE_CLOUD_TYPE=' + vm.cloud.type node_line += ifaces_im_vars for app in vm.getInstalledApplications(): diff --git a/changelog b/changelog index 1be8d78ec..8e8de2976 100644 --- a/changelog +++ b/changelog @@ -182,7 +182,7 @@ IM 1.4.3 * Bugfixes to OpenStack connector. Set default values to new versions. * Add GetVersion function * Bugfix returning protocol https in REST calls - * Add IM_INFRASTRUCTURE_ID variable + * Add IM_INFRASTRUCTURE_ID and IM_NODE_CLOUD_TYPE variables * Bugfix in REST API with auth data with new lines * Bugfix in ansible_executor_v2 with version ansible 2.0.1 * Extract RADL as an external package