How To Install imagefactory on Fedora 34

imagefactory is System image generation tool

Introduction

In this tutorial we learn how to install imagefactory on Fedora 34.

What is imagefactory

imagefactory allows the creation of system images for multiple virtualization and cloud providers from a single template definition. See https

We can use yum or dnf to install imagefactory on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install imagefactory.

Install imagefactory on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install imagefactory using dnf by running the following command:

sudo dnf -y install imagefactory

Install imagefactory on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install imagefactory using yum by running the following command:

sudo yum -y install imagefactory

How To Uninstall imagefactory on Fedora 34

To uninstall only the imagefactory package we can use the following command:

sudo dnf remove imagefactory

imagefactory Package Contents on Fedora 34

/etc/imagefactory/imagefactory.conf
/etc/imagefactory/jeos_images
/etc/imagefactory/plugins.d
/etc/logrotate.d/imagefactoryd
/etc/pki/imagefactory
/etc/pki/imagefactory/cert-ec2.pem
/etc/sysconfig/imagefactoryd
/usr/bin/imagefactory
/usr/bin/imagefactoryd
/usr/lib/python3.9/site-packages/imagefactory-1.1.15-py3.9.egg-info
/usr/lib/python3.9/site-packages/imgfac/ApplicationConfiguration.py
/usr/lib/python3.9/site-packages/imgfac/BaseImage.py
/usr/lib/python3.9/site-packages/imgfac/BaseImageImporter.py
/usr/lib/python3.9/site-packages/imgfac/BuildDispatcher.py
/usr/lib/python3.9/site-packages/imgfac/Builder.py
/usr/lib/python3.9/site-packages/imgfac/CallbackWorker.py
/usr/lib/python3.9/site-packages/imgfac/CloudDelegate.py
/usr/lib/python3.9/site-packages/imgfac/FactoryUtils.py
/usr/lib/python3.9/site-packages/imgfac/FilePersistentImageManager.py
/usr/lib/python3.9/site-packages/imgfac/ImageFactoryException.py
/usr/lib/python3.9/site-packages/imgfac/MongoPersistentImageManager.py
/usr/lib/python3.9/site-packages/imgfac/Notification.py
/usr/lib/python3.9/site-packages/imgfac/NotificationCenter.py
/usr/lib/python3.9/site-packages/imgfac/OSDelegate.py
/usr/lib/python3.9/site-packages/imgfac/PersistentImage.py
/usr/lib/python3.9/site-packages/imgfac/PersistentImageManager.py
/usr/lib/python3.9/site-packages/imgfac/PluginManager.py
/usr/lib/python3.9/site-packages/imgfac/Provider.py
/usr/lib/python3.9/site-packages/imgfac/ProviderImage.py
/usr/lib/python3.9/site-packages/imgfac/ReservationManager.py
/usr/lib/python3.9/site-packages/imgfac/Singleton.py
/usr/lib/python3.9/site-packages/imgfac/TargetImage.py
/usr/lib/python3.9/site-packages/imgfac/Template.py
/usr/lib/python3.9/site-packages/imgfac/Version.py
/usr/lib/python3.9/site-packages/imgfac/__init__.py
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ApplicationConfiguration.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ApplicationConfiguration.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/BaseImage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/BaseImage.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/BaseImageImporter.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/BaseImageImporter.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/BuildDispatcher.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/BuildDispatcher.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Builder.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Builder.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/CallbackWorker.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/CallbackWorker.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/CloudDelegate.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/CloudDelegate.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/FactoryUtils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/FactoryUtils.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/FilePersistentImageManager.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/FilePersistentImageManager.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ImageFactoryException.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ImageFactoryException.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/MongoPersistentImageManager.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/MongoPersistentImageManager.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Notification.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Notification.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/NotificationCenter.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/NotificationCenter.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/OSDelegate.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/OSDelegate.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/PersistentImage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/PersistentImage.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/PersistentImageManager.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/PersistentImageManager.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/PluginManager.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/PluginManager.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Provider.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Provider.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ProviderImage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ProviderImage.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ReservationManager.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/ReservationManager.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Singleton.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Singleton.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/TargetImage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/TargetImage.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Template.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Template.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Version.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/Version.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/props.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/__pycache__/props.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/props.py
/usr/lib/python3.9/site-packages/imgfac/rest
/usr/lib/python3.9/site-packages/imgfac/rest/OAuthTools.py
/usr/lib/python3.9/site-packages/imgfac/rest/RESTtools.py
/usr/lib/python3.9/site-packages/imgfac/rest/RESTv2.py
/usr/lib/python3.9/site-packages/imgfac/rest/__init__.py
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/OAuthTools.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/OAuthTools.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/RESTtools.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/RESTtools.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/RESTv2.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/RESTv2.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/bottle.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/__pycache__/bottle.cpython-39.pyc
/usr/lib/python3.9/site-packages/imgfac/rest/bottle.py
/usr/lib/systemd/system/imagefactoryd.service
/usr/share/licenses/imagefactory
/usr/share/licenses/imagefactory/COPYING
/var/lib/imagefactory/images

References

Summary

In this tutorial we learn how to install imagefactory on Fedora 34 using yum and dnf.