imagefactory builds images for a variety of operating system/cloud combinations.
Python Other
Clone or download
breillyr Automatic commit of package [imagefactory] release [1.1.11-1].
Created by command:

/usr/bin/tito tag --use-version 1.1.11 --use-release 1%{?dist}
Latest commit b2a5716 Jun 26, 2018
Permalink
Failed to load latest commit information.
.tito Automatic commit of package [imagefactory] release [1.1.11-1]. Jun 26, 2018
conf use full path on killall to make f27 systemd happy Nov 21, 2017
imagefactory_plugins Updated specfile for release Jun 26, 2018
imgfac Bumping version for release Oct 4, 2017
scripts Clean up development setup script. Sep 21, 2016
tests Removing unused code. Jul 31, 2012
windows-proxy-code Building and customizing Windows 2008 R2 images Oct 17, 2011
.gitignore Commiting Version.py for tito release process Oct 4, 2017
CONTRIBUTING.md Moved Development wiki page off of Redmine Sep 20, 2012
COPYING Changed license from GPLv2 to ASLv2 Jul 8, 2011
MANIFEST.in actually use our unit file when building RPMS Mar 16, 2016
Makefile RPM revision for Fedora Aug 15, 2013
README.documentation Remove local copy of documentation Jan 30, 2014
README.markdown README: Update to f21, using the Cloud product Dec 16, 2014
cert-ec2.pem Fix EC2 cert and add to package Mar 18, 2011
imagefactory produce JSON output for image imports Sep 22, 2015
imagefactory.conf Change hardcode for Fedora utility image Mar 16, 2016
imagefactory.spec Automatic commit of package [imagefactory] release [1.1.11-1]. Jun 26, 2018
imagefactory.spec.in 1.1.9 release May 31, 2016
imagefactoryd Revised the "faulthandler not found" message Feb 11, 2013
pylint.conf Add a pylint target to the Makefile. Aug 3, 2011
setup.cfg Add requirement for python-cloudservers Apr 28, 2011
setup.py Automatic commit of package [imagefactory] release [1.1.11-1]. Jun 26, 2018

README.markdown

#Image Factory#

Image Factory enables appliance creation and deployment to multiple virtualization and Cloud providers.

##Features##

  • Build guest images for a growing list of operating system and cloud combinations.
    • Current guest OS support: Fedora 7-19, RHEL 5.x and 6.x
    • Current cloud support: Red Hat Enterprise Virtualization, VMware vSphere, Amazon EC2, Rackspace, OpenStack, and more...
  • Image Factory supports "build and upload" or snapshotting of existing images.
  • RESTful API makes integrating Image Factory into existing workflows simple.

##Using Image Factory## Building an image begins with a template describing what to build. See an example of such a template below. See the schema documentation for TDL for more detail on creating a template. Note that a template is not tied to a specific cloud.

<template>
    <name>f21</name>
    <os>
        <name>Fedora</name>
        <version>21</version>
        <arch>x86_64</arch>
        <install type='iso'>
            <iso>http://download.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/x86_64/os/</iso>
        </install>
        <rootpw>p@55word!</rootpw>
    </os>
</template>

Ensure to change the element to your desired root password.

Next, use the imagefactory command and specify the template to use and for which clouds to build an image. The above template example was saved to a file name f12_64.tdl.

$ sudo imagefactory --template f12_64.tdl --target ec2

Once the image has been built, use the imagefactory command again, this time to push the image into the cloud.

$ sudo imagefactory --provider ec2-us-west-1 --credentials ec2_credentials.xml

That's it! You can now launch an instance of this image using the cloud provider's management console.

##Installing Image Factory## Installing Image Factory is quick and easy. See the imagefactory rpm installation instructions for more detail.

Dev Setup

If you are wanting to use Imagefactory in a dev environment, then you can run from source. Run the 'imagefactory_dev_setup.sh' script found in the scripts directory. This will setup a dev environment which allows you to run from source. Once this is complete run ./imagefactoryd --foreground to start the server.

Documentation

More documentation on how to configure, use, and develop for imagefactory can be found on the Image Factory website.