Fix the HA template (sed the username/password)
Change-Id: I835a9f6d2a9abfdeb5af8fb703c8abae5afae2d1 Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
5f7cf95f26
commit
07d1eb9b78
|
@ -239,6 +239,11 @@
|
|||
"mysql -u root --password='", { "Ref" : "DBRootPassword" },
|
||||
"' < /tmp/setup.mysql || error_exit 'Failed to create database.'\n",
|
||||
|
||||
"sed --in-place --e s/database_name_here/", { "Ref" : "DBName" },
|
||||
"/ --e s/username_here/", { "Ref" : "DBUsername" },
|
||||
"/ --e s/password_here/", { "Ref" : "DBPassword" },
|
||||
"/ /usr/share/wordpress/wp-config.php\n",
|
||||
|
||||
"# install cfn-hup crontab\n",
|
||||
"crontab /tmp/cfn-hup-crontab.txt\n",
|
||||
|
||||
|
|
Loading…
Reference in New Issue