diff options
-rw-r--r-- | overcloud-source.yaml | 19 | ||||
-rw-r--r-- | undercloud-source.yaml | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 040506e0..9cbc2030 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -361,8 +361,21 @@ Resources: admin-token: Ref: AdminToken bootstack: + bootstrap_nodeid: + Fn::Select: + - 0 + - Fn::Select: + - 0 + - Merge::Map: + controller0: + - Fn::Select: + - name + - Fn::GetAtt: + - controller0 + - show public_interface_ip: Ref: NeutronPublicInterfaceIP + nodeid: {get_input: bootstack_nodeid} cinder: db: mysql://cinder:unset@localhost/cinder volume_size_mb: @@ -496,6 +509,12 @@ Resources: config: {Ref: controllerConfig} server: {Ref: controller0} input_values: + bootstack_nodeid: + Fn::Select: + - name + - Fn::GetAtt: + - controller0 + - show controller_host: Fn::Select: - 0 diff --git a/undercloud-source.yaml b/undercloud-source.yaml index 3cddb262..dd5d3855 100644 --- a/undercloud-source.yaml +++ b/undercloud-source.yaml @@ -154,6 +154,25 @@ Resources: Ref: AdminPassword admin-token: Ref: AdminToken + bootstack: + bootstrap_nodeid: + Fn::Select: + - 0 + - Fn::Select: + - 0 + - Merge::Map: + undercloud: + - Fn::Select: + - name + - Fn::GetAtt: + - undercloud + - show + nodeid: + Fn::Select: + - name + - Fn::GetAtt: + - undercloud + - show controller-address: Fn::Select: - 0 |