Adjust cfn-init -f flag to be implicit

Fixes issue #75 for WordPress_Single_Instance_cfntools.template

Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Steven Dake 2012-04-16 16:34:53 -07:00
parent 162826f9d7
commit b5bf88aab5

View File

@ -122,7 +122,7 @@
"KeyName" : { "Ref" : "KeyName" },
"UserData" : { "Fn::Base64" : { "Fn::Join" : ["", [
"#!/bin/bash -v\n",
"/opt/aws/bin/cfn-init -f /var/lib/cloud/data/cfn-init-data\n",
"/opt/aws/bin/cfn-init\n",
"# Setup MySQL root password and create a user\n",
"mysqladmin -u root password '", { "Ref" : "DBRootPassword" }, "'\n",
"cat >> /tmp/mysql-wordpress-config << EOF\n",