On 11/06/2020 15:30, Leon Fauster via CentOS-devel wrote:
Am 10.06.20 um 22:49 schrieb Fabian Arrotin:
<snip>
Can I use this ks file to compose an new image with lorax? Or are some other tools missing / unseen by me to build a working image?
You can use virt-install, or lorax or any other tool (but you'll probably need some url / repo lines added) to build an image from this https://git.centos.org/centos/kickstarts/blob/master/f/CentOS-8-EC2.ks file
The authoritative builds on koji/mbox (like for example this one : https://koji.mbox.centos.org/koji/buildinfo?buildID=11432) is using pungi and so these configs (also public) : https://git.centos.org/centos/pungi-centos/blob/centos-8.2.2004/f/images-clo...
I would like to start right away booting some instances for testing proposes.
BTW, in the meanwhile I was already elaborating the workflow of importing images into my aws account. thereby i noticed that ec2 import-snapshot does not support the qcow2 disk format. The next supported format would be "raw" ... still elaborating the workflow ...
Yeah, by default we have .qcow2 images as artifacts from the buildsystem, but this morning I tested our 8.2.2004 images (from above koji build link I pasted above) and they worked. We just have to convert to .raw format with qemu-img convert first, before uploading to S3, creating AMI from imported "snapshot"
I tested both x86_64 and aarch64 images and they booted fine (fwiw)
Now to see how to share these AMIs at release/GA time, etc ... :-)