lima-vm / alpine-lima

Create an alpine based image for lima
Apache License 2.0
40 stars 26 forks source link

Real cloud-init is not guaranteed to run after qemu-binfmt #104

Open jandubois opened 1 year ago

jandubois commented 1 year ago

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.