de69a3f94b
The netinst isos produce smaller qcow2 images and are faster to download. Use netinst ISOs for F17 instead. Change-Id: I76c59728ed1b9b90b43487f93fdc2e55ee604916
27 lines
746 B
Plaintext
27 lines
746 B
Plaintext
<template>
|
|
<name>F17-x86_64-cfntools</name>
|
|
<os>
|
|
<name>Fedora</name>
|
|
<version>17</version>
|
|
<arch>x86_64</arch>
|
|
<install type='iso'>
|
|
<iso>file:/var/lib/libvirt/images/Fedora-17-x86_64-netinst.iso</iso>
|
|
</install>
|
|
</os>
|
|
<description>Fedora 17</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>
|