]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Add yum-plugin-fastestmirror to the cfntools images
authorSteven Dake <sdake@redhat.com>
Sun, 15 Apr 2012 18:10:50 +0000 (11:10 -0700)
committerSteven Dake <sdake@redhat.com>
Sun, 15 Apr 2012 18:10:50 +0000 (11:10 -0700)
Should speed up the downloading of packages on launch

Signed-off-by: Steven Dake <sdake@redhat.com>
heat/jeos/F16-i386-cfntools-jeos.tdl
heat/jeos/F16-x86_64-cfntools-jeos.tdl
heat/jeos/F17-i386-cfntools-jeos.tdl

index 61e4a0c905ee36e398d49a2e29dd01a79ad48df3..13bd6dcf2072c7046871d700180eb47d7532b513 100644 (file)
@@ -12,7 +12,7 @@
   <description>Fedora 16</description>
   <commands>
     <command name='commands'>
-yum -y update --skip-broken;yum -y update;/usr/sbin/useradd ec2-user;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/cfg-*
+yum -y update --skip-broken;yum -y install yum-plugin-fastestmirror;yum -y update;/usr/sbin/useradd ec2-user;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/cfg-*
 #!/bin/bash
 setenforce 0
 EOF
index c2bfb6d001dd449837f38b2ea51cdf05ccacfe46..ae44887b17fff94aa61d642dfd4f028dc39c3f2b 100644 (file)
@@ -12,7 +12,7 @@
   <description>Fedora 16</description>
   <commands>
     <command name='commands'>
-yum -y update --skip-broken;yum -y update;/usr/sbin/useradd ec2-user;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-*
+yum -y update --skip-broken;yum -y install yum-plugin-fastestmirror;yum -y update;/usr/sbin/useradd ec2-user;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
index 1b83b46590c9c5f022449e69086b34533cfb4c90..4b1fa327950eca9fd94847ad24c9636473f2702a 100644 (file)
@@ -12,7 +12,7 @@
   <description>Fedora 17</description>
   <commands>
     <command name='commands'>
-yum -y update --skip-broken;yum -y update;/usr/sbin/useradd ec2-user;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-*
+yum -y update --skip-broken;yum -y install yum-plugin-fastestmirror;yyum -y update;/usr/sbin/useradd ec2-user;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