From: Steven Dake Date: Sat, 14 Apr 2012 14:23:20 +0000 (-0700) Subject: Add a cfn-init call to cfntools X-Git-Tag: 2014.1~2014 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c43659dd7ae6800ac25f477f9896aaa2ab69ca9a;p=openstack-build%2Fheat-build.git Add a cfn-init call to cfntools Signed-off-by: Steven Dake --- diff --git a/templates/WordPress_Single_Instance_cfntools.template b/templates/WordPress_Single_Instance_cfntools.template index 895f0d70..8ba02c8d 100644 --- a/templates/WordPress_Single_Instance_cfntools.template +++ b/templates/WordPress_Single_Instance_cfntools.template @@ -122,6 +122,7 @@ "KeyName" : { "Ref" : "KeyName" }, "UserData" : { "Fn::Base64" : { "Fn::Join" : ["", [ "#!/bin/bash -v\n", + "/opt/aws/bin/cfn-init -i /var/lib/cloud/cfn-init-data" "# Setup MySQL root password and create a user\n", "mysqladmin -u root password '", { "Ref" : "DBRootPassword" }, "'\n", "cat >> /tmp/mysql-wordpress-config << EOF\n",