Make undercloud_sg respect id
Set undercloud_sg name parameter based on the undercloud_name so that it gets a unique name when --id is used to deploy.
This commit is contained in:
parent
f84b06c616
commit
3258d33bdc
@ -18,7 +18,11 @@ resources:
|
||||
undercloud_sg:
|
||||
type: OS::Neutron::SecurityGroup
|
||||
properties:
|
||||
name: undercloud_sg
|
||||
name:
|
||||
list_join:
|
||||
- '_'
|
||||
- - {get_param: undercloud_name}
|
||||
- 'sg'
|
||||
description: Ping and SSH
|
||||
rules:
|
||||
- protocol: icmp
|
||||
|
@ -14,11 +14,18 @@ parameters:
|
||||
public_net:
|
||||
type: string
|
||||
|
||||
undercloud_sg:
|
||||
type: string
|
||||
|
||||
resources:
|
||||
undercloud_sg:
|
||||
type: OS::Neutron::SecurityGroup
|
||||
properties:
|
||||
name: undercloud_sg
|
||||
name:
|
||||
list_join:
|
||||
- '_'
|
||||
- - {get_param: undercloud_name}
|
||||
- 'sg'
|
||||
description: Ping and SSH
|
||||
rules:
|
||||
- protocol: icmp
|
||||
|
Loading…
Reference in New Issue
Block a user