aboutsummaryrefslogtreecommitdiffstats
path: root/swift-storage.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'swift-storage.yaml')
-rw-r--r--swift-storage.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/swift-storage.yaml b/swift-storage.yaml
index e2d4da93..e4cacf3c 100644
--- a/swift-storage.yaml
+++ b/swift-storage.yaml
@@ -88,6 +88,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:
SwiftConfig:
@@ -118,6 +121,7 @@ resources:
- network: ctlplane
user_data_format: SOFTWARE_CONFIG
user_data: {get_resource: NodeUserData}
+ name: {get_param: Hostname}
NodeUserData:
type: OS::TripleO::NodeUserData