Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.07 KB

File metadata and controls

37 lines (24 loc) · 1.07 KB
layout default
title tagline
section home

imagefactory makes cloud image creation easy

  1. Add the yum repository:

     $ su -c "(cd /etc/yum.repos.d; wget http://repos.fedorapeople.org/repos/aeolus/imagefactory/testing/repos/fedora/imagefactory.repo)"
    
  2. Install the packages:

     $ su -c "yum install imagefactory imagefactory-plugins \
     imagefactory-plugins-FedoraOS \
     imagefactory-plugins-OpenStackCloud \
     imagefactory-plugins-RHEVM \
     imagefactory-plugins-vSphere \
     imagefactory-plugins-EC2Cloud \
     imagefactory-plugins-EC2Cloud-JEOS-images"
    
  3. Get a system template:

     $ wget https://raw.github.com/aeolusproject/imagefactory/gh-pages/documentation/tdl/f17_x86_64.tdl
    
  4. Build the image:

     $ su -c "imagefactory target_image --template f17_x86_64.tdl ec2"
    
  5. Create your EC2 credentials file:

     $ create-ec2-factory-credentials        
    
  6. Push (upload) the image to EC2 us-east-1:

     $ su -c "imagefactory provider_image --id <uuid_from_previous_step> ec2 @us-east-1 ec2_credentials.xml"