]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Add ec2-user to F17 x86_64 tdl
authorSteven Dake <sdake@redhat.com>
Thu, 12 Apr 2012 21:05:59 +0000 (14:05 -0700)
committerSteven Dake <sdake@redhat.com>
Thu, 12 Apr 2012 21:05:59 +0000 (14:05 -0700)
Signed-off-by: Steven Dake <sdake@redhat.com>
heat/jeos/F17-x86_64-cfntools-jeos.tdl

index 494327504ae4cc4c6793070678eaa694acdbbffd..20490c4ecd65af0b01d0fb3150fd11e94a71f2d5 100644 (file)
@@ -12,7 +12,7 @@
   <description>Fedora 17</description>
   <commands>
     <command name='commands'>
-yum -y update --skip-broken;yum -y update; yum -y install cloud-init;cat >> /etc/rc.d/rc.local &lt;&lt; EOF;chmod +x /etc/rc.d/rc.local; chmod +x /opt/aws/bin/cfn-*
+yum -y update --skip-broken;yum -y update;/usr/sbin/useradd ec2-user;yum -y install cloud-init;cat >> /etc/rc.d/rc.local &lt;&lt; EOF;chmod +x /etc/rc.d/rc.local; chmod +x /opt/aws/bin/cfn-*
 #!/bin/bash
 setenforce 0
 EOF