heat templates : Add boto config to HA templates
Add boto config to HA/IHA templates as it's now required for authenticated cfn-push-stats which uses the CloudWatch API Signed-off-by: Steven Hardy <shardy@redhat.com> Change-Id: I8670f6774834e9f41870240496fe74728306cf17
This commit is contained in:
parent
5df2d6f702
commit
318f233c54
@ -246,6 +246,11 @@
|
||||
" --region ", { "Ref" : "AWS::Region" },
|
||||
" || error_exit 'Failed to run cfn-init'\n",
|
||||
|
||||
"# Update boto config (template created by heat-jeos tdl)\n",
|
||||
"sed -i \"s/__GATEWAY_IP__/",
|
||||
"$(/sbin/ip route | grep \"^default\" | awk '{print $3}')/\"",
|
||||
" /etc/boto.cfg \n",
|
||||
|
||||
"# Setup MySQL root password and create a user\n",
|
||||
"mysqladmin -u root password '", { "Ref" : "DBRootPassword" },
|
||||
"' || error_exit 'Failed to initialize root password'\n",
|
||||
|
@ -187,6 +187,11 @@
|
||||
" --region ", { "Ref" : "AWS::Region" },
|
||||
" || error_exit 'Failed to run cfn-init'\n",
|
||||
|
||||
"# Update boto config (template created by heat-jeos tdl)\n",
|
||||
"sed -i \"s/__GATEWAY_IP__/",
|
||||
"$(/sbin/ip route | grep \"^default\" | awk '{print $3}')/\"",
|
||||
" /etc/boto.cfg \n",
|
||||
|
||||
"# Setup MySQL root password and create a user\n",
|
||||
"mysqladmin -u root password '", { "Ref" : "DBRootPassword" },
|
||||
"' || error_exit 'Failed to initialize root password'\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user