On Mon, Aug 22, 2022 at 12:03:21PM -0400, Neal Gompa wrote:
On Mon, Aug 22, 2022 at 11:57 AM Peter Boy <pboy(a)uni-bremen.de>
wrote:
>
>
> Does anyone know how I can configure ImageFactory / OZ to use a BIOS VM for image
generation? Unfortunately I haven't found any documentation on this.
>
>
> For explanation:
>
> ImageFactory uses a temporary VM to create a virtual machine disk image.
>
> At least since F36 it uses UEFI for this. If you want to create a biosboot image
(which is the default in libvirt), this image cannot be booted in a UEFI VM. The build
process either waits indefinitely for a UEFI compatible image or returns a non-bootable
image.
>
> This also happens when I use an old host that does not support UEFI at all.
>
> At least with F34 this was different according to my memory.
>
libvirt supports UEFI VMs just fine too. That said, you probably would
want to make it a hybrid boot system to support both.
Yes, ideally any cloud images will be built such that they can boot on
both BIOS and UEFI, to maximise cloud compatibility.
You can see how it's done in Fedora Cloud.
More specifically I believe this kickstart file is what Fedora images
are derived from:
https://pagure.io/fedora-kickstarts/blob/main/f/fedora-cloud-base.ks
With regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|