github lima-vm/lima v2.0.0-alpha.0

pre-release16 hours ago

Highlights:

Other notable changes:

  • /tmp/lima is no longer mounted by default (#3951)
  • SSH port is no longer hard-coded to 60022 for the "default" instance (#3780)

Changes

  • VM driver infrastructure:

  • VZ:

  • limactl CLI:

    • Add limactl (start|restart) --progress flag to show the progress of provisioning (#3846, #3915, thanks to @olamilekan000 @norio-nomura)
    • Add limactl (create|start|edit) --port-forward flag for static port forwarding (#3699, thanks to @Horiodino).
      Usually not needed, but useful for instances created with --plain.
    • Add limactl (create|start|edit) --ssh-port flag (#3791)
    • Add limactl (create|start|edit) --mount-only flag (#3947).
      Similar to --mount, but overrides the existing mounts. Useful for mounting $(pwd).
    • Add limactl shell --preserve-env flag to propagate env vars from the host to VM (#3830, thanks to @olamilekan000).
      See also LIMA_SHELLENV_ALLOW and LIMA_SHELLENV_BLOCK.
    • Support CLI plugins (#3834, thanks to @olamilekan000)
  • YAML:

    • Migrate cpuType to vmOpts.qemu (#3500, thanks to @unsuman)
    • Add yq provision mode (#3892, thanks to @norio-nomura)
    • Prohibit relative paths in YAML (#3950).
      Relative paths were never intended to be supported,
      but they were accidentally allowed due to a regression in v1.1.0.
      The CLI command limactl (create|start|edit) --mount DIR still supports relative paths.
  • Default template:

    • Remove /tmp/lima mount (#3951)
    • Stop hardcoding SSH port 60022 (#3780)
  • Port forwarding:

  • Build system:

    • Remove Kconfig and config.mk, in favor of Makefile variables (#3732)
  • Templates:

Full changes: https://github.com/lima-vm/lima/milestone/59?closed=1

Thanks to @Horiodino @afbjorklund @alexandear @ashwat287 @bonifaido @dharsanb @jandubois @muchzill4 @ningmingxiao @norio-nomura @olamilekan000 @plandem @stek29 @unsuman @vishalanarase @zyfy29

Usage

$ limactl create
$ limactl start
...
INFO[0029] READY. Run `lima` to open the shell.

$ lima uname
Linux

The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/lima-vm/lima/actions/runs/17500188604

The sha256sum of the SHA256SUMS file itself is 6d2fa764a4d6773d19d721a495e1a6740fb6535f23e3aa81f02832c556ab62f5 .


Release manager: @AkihiroSuda

Don't miss a new lima release

NewReleases is sending notifications on new releases.