This is required for Lima to be unregister the qemu binfmt handler and register rosetta instead.
lima-init declares that it needs to run after qemu-binfmt. Maybe patching qemu-binfmt to run before cloud-init and before lima-init will work.
Note that aed9360 can be reverted if qemu-binfmt is guaranteed to run before cloud-init or lima-init because it will make sure the binfmt filesystem is mounted.
This is required for Lima to be unregister the qemu binfmt handler and register rosetta instead.
lima-init
declares that it needs to runafter qemu-binfmt
. Maybe patchingqemu-binfmt
to runbefore cloud-init
andbefore lima-init
will work.Note that aed9360 can be reverted if
qemu-binfmt
is guaranteed to run beforecloud-init
orlima-init
because it will make sure thebinfmt
filesystem is mounted.