add ec2-user to F16 cfntools image

Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Steven Dake 2012-04-12 14:05:13 -07:00
parent 7abe849db7
commit 85a9df46d2
1 changed files with 1 additions and 1 deletions

View 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