From e01f11cc43533d8d59b1144759bb38b4d8160eb0 Mon Sep 17 00:00:00 2001 From: Therese McHale Date: Wed, 25 Jun 2014 16:32:08 +0100 Subject: Set the MySQL root password Set the MySQL root password to a random string for the undercloud and overcloud Change-Id: I6d38ca82c77a4aa8f58089c50aa5bf320ec0ecc6 --- overcloud-source.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'overcloud-source.yaml') 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: -- cgit 1.2.3-korg