5e92be740d
F18 builds are unreliable (or for some people don't work at all), this seems due to the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=906031 The simplest workaround is to use the netinst ISO instead of the DVD so we pick up the newer curl package which fixes the problem Fixes bug #1185810 Change-Id: I066356e8a780caa8ca2798644ec7594b0536005c
27 lines
738 B
Plaintext
27 lines
738 B
Plaintext
<template>
|
|
<name>F18-i386-cfntools</name>
|
|
<os>
|
|
<name>Fedora</name>
|
|
<version>18</version>
|
|
<arch>i386</arch>
|
|
<install type='iso'>
|
|
<iso>file:/var/lib/libvirt/images/Fedora-18-i386-netinst.iso</iso>
|
|
</install>
|
|
</os>
|
|
<description>Fedora 18</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 python-boto
|
|
yum -y update
|
|
sed --in-place -e s/Type=oneshot/"Type=oneshot\nTimeoutSec=0"/ /lib/systemd/system/cloud-final.service
|
|
pip-python install heat-cfntools
|
|
cfn-create-aws-symlinks --source /usr/bin
|
|
|
|
</command>
|
|
</commands>
|
|
</template>
|