aboutsummaryrefslogtreecommitdiffstats
path: root/controller.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'controller.yaml')
-rw-r--r--controller.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/controller.yaml b/controller.yaml
index 33010db1..36bd77bc 100644
--- a/controller.yaml
+++ b/controller.yaml
@@ -442,6 +442,9 @@ parameters:
description: >
Setting to a previously unused value during stack-update will trigger
package update on all nodes
+ Hostname:
+ type: string
+ default: '' # Defaults to Heat created hostname
resources:
@@ -456,6 +459,7 @@ resources:
- network: ctlplane
user_data_format: SOFTWARE_CONFIG
user_data: {get_resource: NodeUserData}
+ name: {get_param: Hostname}
NodeUserData:
type: OS::TripleO::NodeUserData