Add script to customize Ubuntu guest images.
The script is intended to be used from any openstack deployment system
as TripleO, Devstack, etc. to prepare ubuntu guest images before being
uploaded to OpenStack image service.
It has not been possible to virt-customize because of below Ubuntu bugs:
- https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1632405
- https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1650740
It has therefore been adopted a more low level strategy performing below
steps:
- mount guest image to a temporary folder
- set up an environment suitable for executing chroot
- execute customize_image function inside chroot environment
- cleanup chroot environment
Packages required by the script:
- libguestfs-tools
Packages installed on customized guest images:
- socat (for advance network feature testing, like multicast)
This change has been created because for testing multicast
socat is required, but it was designed with the idea
of being used to allow further guest images customizations.
Change-Id: Ia60991d9170495e9d41f583765b24d6cdf442639
1 file changed