aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud-source.yaml
diff options
context:
space:
mode:
authorTherese McHale <therese.mchale@hp.com>2014-06-25 16:32:08 +0100
committerTherese McHale <therese.mchale@hp.com>2014-08-14 11:46:35 +0100
commite01f11cc43533d8d59b1144759bb38b4d8160eb0 (patch)
treed83bb83a50e7133fee86085b0ecc0cda655ebf92 /overcloud-source.yaml
parentf797a2eadd656591273456664186fb3e8ad26804 (diff)
Set the MySQL root password
Set the MySQL root password to a random string for the undercloud and overcloud Change-Id: I6d38ca82c77a4aa8f58089c50aa5bf320ec0ecc6
Diffstat (limited to 'overcloud-source.yaml')
-rw-r--r--overcloud-source.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index 6432baa4..58385efa 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -295,6 +295,10 @@ resources:
type: OS::Heat::RandomString
properties:
length: 10
+ MysqlRootPassword:
+ type: OS::Heat::RandomString
+ properties:
+ length: 10
PublicVirtualIP:
type: OS::Neutron::Port
properties:
@@ -482,6 +486,7 @@ resources:
mysql:
innodb_buffer_pool_size: {get_param: MysqlInnodbBufferPoolSize}
local_bind: true
+ root-password: {get_resource: MysqlRootPassword}
nodes:
Merge::Map:
controller0: