67d5892ea9
Found while writing test for jeos creation Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
<template>
|
|
<name>F16-i386-cfntools-jeos</name>
|
|
<os>
|
|
<name>Fedora</name>
|
|
<version>16</version>
|
|
<arch>i386</arch>
|
|
<install type='iso'>
|
|
<iso>file:/var/lib/libvirt/images/Fedora-16-i386-DVD.iso</iso>
|
|
</install>
|
|
</os>
|
|
<description>Fedora 16</description>
|
|
<commands>
|
|
<command name='commands'>
|
|
yum -y update --skip-broken;yum -y install yum-plugin-fastestmirror;yum -y update;/usr/sbin/useradd ec2-user;echo -e 'ec2-user\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers;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
|
|
setenforce 0
|
|
EOF
|
|
</command>
|
|
</commands>
|
|
<files>
|
|
<file name='/opt/aws/bin/cfn-init' type='base64'></file>
|
|
<file name='/opt/aws/bin/cfn-hup' type='base64'></file>
|
|
<file name='/opt/aws/bin/cfn-signal' type='base64'></file>
|
|
<file name='/opt/aws/bin/cfn_helper.py' type='base64'></file>
|
|
<file name='/opt/aws/bin/cfn-get-metadata' type='base64'></file>
|
|
</files>
|
|
</template>
|