Skip to content

configuring rosetta in override.yaml has no effect #4427

@xandris

Description

@xandris

Description

hello thank you for Lima it's really cool

i have this in ~/.lima/_config/override.yaml (and/or default.yaml, it doesn't seem to matter):

vmOpts:
  vz:
    rosetta:
      enabled: true
      binfmt: true

but if i

limactl create --tty=false &&
limactl start &&
lima cat /proc/sys/fs/binfmt_misc/rosetta

i get cat: /proc/sys/fs/binfmt_misc/rosetta: No such file or directory (os error 2)

in other words i have to remember to create with --rosetta

not the biggest problem but i would like my teammates to be able to limactl create and have it do the right thing for our environment (running the occasional arm64 container on an aarch64 host), and it seems like it ought to work from the comments in the default template

Lima: 2.0.2 from Homebrew
Host: MacOS 15

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions