summaryrefslogtreecommitdiffstats
path: root/heat/vFW_NextGen/templates
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-19 08:32:17 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-19 08:36:16 -0400
commit07cad37303fc6a64fa0f6bf5f99d3a9fab2ccceb (patch)
treec4427f77e3a3b58acfc840bb1587e0e412a01c34 /heat/vFW_NextGen/templates
parent8332cbbf4e68f68a5927403be646c26ab9667fae (diff)
Do not prepand randomo str in key for vFW_NextGen
As the assignment for the key-name is using CDS, the key-name shouldn't be adding anything to the name that has been resolved, as it would create a discrepancy between what is expected to be the key-name vs what it would be. Using CDS, resolutions happens through GR-API, and are stored within MD-SAL. If that value is altered, deployment will fail as the process won't know about this additional random-str. Change-Id: Icba069a1345572debded44b4e5486b23524728ea Issue-ID: INT-694 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'heat/vFW_NextGen/templates')
-rw-r--r--heat/vFW_NextGen/templates/base_template.yaml12
1 files changed, 1 insertions, 11 deletions
diff --git a/heat/vFW_NextGen/templates/base_template.yaml b/heat/vFW_NextGen/templates/base_template.yaml
index 1804fdda..9184fdaf 100644
--- a/heat/vFW_NextGen/templates/base_template.yaml
+++ b/heat/vFW_NextGen/templates/base_template.yaml
@@ -74,20 +74,10 @@ parameters:
#############
resources:
- random-str:
- type: OS::Heat::RandomString
- properties:
- length: 4
-
my_keypair:
type: OS::Nova::KeyPair
properties:
- name:
- str_replace:
- template: base_rand
- params:
- base: { get_param: key_name }
- rand: { get_resource: random-str }
+ name: { get_param: key_name }
public_key: { get_param: pub_key }
save_private_key: false