deb-heat/heat/jeos/F16-x86_64-cfntools-jeos.tdl
Jeff Peeler 67d5892ea9 Add cfn-get-metadata to files section of cfntools tdls
Found while writing test for jeos creation

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-05-01 14:48:16 -04:00

28 lines
1.0 KiB
Plaintext

<template>
<name>F16-x86_64-cfntools-jeos</name>
<os>
<name>Fedora</name>
<version>16</version>
<arch>x86_64</arch>
<install type='iso'>
<iso>file:/var/lib/libvirt/images/Fedora-16-x86_64-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 &lt;&lt; EOF;chmod +x /etc/rc.d/rc.local;chmod +x /opt/aws/bin/cfn-*
#!/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>