----- Forwarded message from Petros Petrou <ppetrou(a)redhat.com> -----
Date: Mon, 20 Apr 2020 09:29:37 +0100
From: Petros Petrou
To: Richard Jones
Subject: Guestfish Ansible Modules using Python Bindings
Hi Richard,
I have been experimenting with guestfish and rhel qcow2 cloud images
the last few months.
I was challenged in a recent assignment on how to customize the RHEL 8
qcow image using cloud libraries to meet complex setups suchs a
multiple partitions, lvm storage, openscap compliance etc as the
default image is a single standard partition which is not suitable for
production.
Although the customer moved forward with kickstart to build their images I
decided to put some effort on this and developed a python module to wrap
the libguestfish python bindings and also developed a few ansible modules
to support partitions, filesystems and lvm storage so as to see how much
and how easy I can customize a cloud image using guestfish.
I did some research beforehand and did not find much info on the web other
than your website and blog so I assume I am not reinventing the wheel here
:)
My coding is in my github and will soon write a blog and try to present to
the Red Hat Automation CoP and also try to push the Ansible Modules to the
community.
If you have any views or suggestions on this please let me know. I have
found guestfish and supermin a very interesting library to work with and
learned a lot.
https://github.com/ppetrou/infra_server_kvm/tree/master/roles/infra_serve...
https://github.com/ppetrou/infra_server_kvm/blob/master/roles/infra_serve...
https://github.com/ppetrou/infra_server_kvm/tree/master/roles/infra_serve...
Thank you,
Petros
----- End forwarded message -----
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW