add ec2-user to F16 cfntools image
Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
parent
7abe849db7
commit
85a9df46d2
|
@ -12,7 +12,7 @@
|
||||||
<description>Fedora 16</description>
|
<description>Fedora 16</description>
|
||||||
<commands>
|
<commands>
|
||||||
<command name='commands'>
|
<command name='commands'>
|
||||||
yum -y update --skip-broken;yum -y update; yum -y install cloud-init;cat >> /etc/rc.d/rc.local << 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 << EOF;chmod +x /etc/rc.d/rc.local;chmod +x /opt/aws/bin/cfg-*
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
setenforce 0
|
setenforce 0
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue