heat-templates/jeos/F16-x86_64-cfntools.tdl

27 lines
742 B
Plaintext

<template>
<name>F16-x86_64-cfntools</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='lockroot'>
passwd -l root
</command>
<command name='packages'>
yum -y update fedora-release
yum -y install yum-plugin-fastestmirror cloud-init python-psutil python-pip
yum -y update
sed --in-place -e s/Type=oneshot/"Type=oneshot\nTimeoutSec=0"/ /lib/systemd/system/cloud-final.service
pip-python install 'boto==2.5.2' heat-cfntools
cfn-create-aws-symlinks --source /usr/bin
</command>
</commands>
</template>