[Libguestfs] [PATCH] templates: Add CentOS Stream 8

Stef Walter swalter at redhat.com
Fri May 21 11:58:23 UTC 2021


This adds CentOS Stream 8 to the set of images that the builder
can use. CentOS Stream 8 is a continuously delivered upstream of
the next RHEL 8.x release. It doesn't have a minor version number.

It appears that my index-fragment has a hash in it, and thus this
commit may need to be amended by the maintainer before merging
into the main repo.

This has been tested by creating a local centosstream-8.xz image
then consuming that image via a local repos.d file and using
virt-builder to build a bootable CentOS Stream 8 image:

     $ cat ~/.config/virt-builder/repos.d/local.conf
     [local]
     uri=file:///data/src/guestfs-tools/builder/templates/index
     $ virt-builder --list | grep stream
     centosstream-8           x86_64     CentOS Stream 8
     $ virt-builder centosstream-8
     [   1.0] Downloading: file:///data/src/guestfs-tools/build...
     [   1.7] Planning how to build this image
     [   1.7] Uncompressing
     [   7.8] Opening the new disk
     [  12.6] Setting a random seed
     [  12.6] Setting passwords
     virt-builder: Setting random password of root to qmjtBFyLX...
     [  13.5] Finishing off
                   Output file: centosstream-8.img
                   Output size: 6.0G
                 Output format: raw
            Total usable space: 5.4G
                    Free space: 3.8G (71%)


-- 
Stef Walter (he / his)
Linux Engineering
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-templates-Add-CentOS-Stream-8.patch
Type: text/x-patch
Size: 14099 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210521/a22a42ba/attachment.bin>


More information about the Libguestfs mailing list