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

index a1b68a9325d13827698415e6c6da6c1667178f18..61e4a0c905ee36e398d49a2e29dd01a79ad48df3 100644 (file)
@@ -12,7 +12,7 @@
   <description>Fedora 16</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/cfg-*
+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/cfg-*
 #!/bin/bash
 setenforce 0
 EOF