Skip to content

Instantly share code, notes, and snippets.

@cwolferh
Last active December 11, 2015 02:49
Show Gist options
  • Select an option

  • Save cwolferh/4533547 to your computer and use it in GitHub Desktop.

Select an option

Save cwolferh/4533547 to your computer and use it in GitHub Desktop.
Script that installs imagefactory v2 on fedora17
## Install master imagefactory (soon to be v2)
## To be run as root on fc17
git clone git://github.com/aeolusproject/imagefactory.git
cd imagefactory/
make rpm
cd imagefactory-plugins/; make rpm
cd /root/rpmbuild/RPMS/noarch
# install everything *except* imagefactory-secondary which has a yum
# error and only seems needed to get around a firewall, from the rpm desciption:
#
# Summary : Remote/Secondary Image Factory functionality
# Description :
# Additional modules to allow the use of primary and secondary factories.
# This is mainly useful when operating the primary factory behind a restrictive firewall.
yum install imagefactory-1.1*rpm imagefactory-plugins*rpm
# imagefactory assumes libvirtd is already started
/etc/init.d/libvirtd start
echo execute the following line to start imagefactory:
echo /usr/bin/imagefactoryd --debug --no_ssl --no_oauth --foreground
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment