github lima-vm/lima v2.1.2

4 hours ago

Changes

  • limactl CLI:

    • fix(shell): check if mounts contain hostCurrentDir, not just len > 0 (#4799, thanks to @opjt)
    • limactl: add --param shortcut for template parameters (#4873, thanks to @jandubois)
    • shell: fix path quoting for rsync 3.0.0 through 3.2.3 (#4883, thanks to @Mysterio-17)
    • pkg/store: treat unknown terminal width as unlimited in limactl ls (#4918, thanks to @sahitya-chandra)
    • feat: add tab suggestions for --set flag (#5000, thanks to @Aneesh-Hegde)
    • fix(shell-sync): preserve synced guest changes on TUI interruption (#5002)
  • Templates:

    • Update k8s.yaml for bootstrapToken configuration in kubeadm (#4829, thanks to @techthumb)
    • templates: migrate from cpuType to vmOpts.qemu.cpuType (#4834, thanks to @AkihiroSuda)
    • Multi node k8s test updates and related fixes (#4835, thanks to @techthumb)
    • Bump k8s flannel version from 0.27.4 to 0.28.4 (#4843, thanks to @afbjorklund)
    • templates: add ubuntu-26.04 (#4874, thanks to @AkihiroSuda)
    • templates: k8s: pin Kubernetes version to 1.36 (#4882, thanks to @AkihiroSuda)
    • templates: split template:alpine to template:alpine-{3.21,3.22,3.23} (#4897, thanks to @Mysterio-17)
    • feat(templates): add Fedora 44 template; remove Fedora 41 template (#4905, thanks to @valdela1)
    • Missing image and checksum for debian-13 riscv64 (#4978, thanks to @afbjorklund)
    • fix: prevent docker from running as root in rootless environment (#4987, thanks to @Aneesh-Hegde)
  • Hostagent:

    • hostagent: close stale GuestAgentClient on reconnect to stop ClientConn leak (#4889, thanks to @mn-ram)
    • hostagent: stop leaking inotify watchers and re-spawn the gRPC stream after guest-agent reconnect (#4895, thanks to @mn-ram)
    • hostagent: stop destroying ga.sock on guest-agent reconnect (#4911, thanks to @mn-ram)
    • hostagent: wait for the guest agent before opening the inotify stream (#4924, thanks to @sahitya-chandra)
  • Drivers:

    • Krunkit: support SSHOverVsock and replace SSH-based guestagent connection with vsock (#4822)
    • wsl2: stop spinning in for { <-ctx.Done() } after instance stop (#4892, thanks to @mn-ram)
    • fix: track driver PID to prevent zombie processes (#4939, thanks to @Aneesh-Hegde)
    • fix(darwin): pin main goroutine to OS thread 0 for VZ GUI (#5036, thanks to @trodemaster)
  • QEMU:

    • openSUSE dropped the 2MB OVMF images from QEMU in version 202602 (#4910, thanks to @jandubois)
    • QEMU command line: allow kernel-irqchip enabled with WHPX (#4933, thanks to @arixmkii)
    • qemu: fix non-deterministic boot disk with bootindex and s390x support (#4944, thanks to @Soumya-codr)
    • Deprecate _LIMA_QEMU_UEFI_IN_BIOS flag (#4948, thanks to @arixmkii)
    • fix(validate): correct misleading mountType validation error on Windows (#4956, thanks to @InsidiousLion)
    • qemu: pass -vga none for headless guests (#4975, thanks to @jandubois)
  • Port Forwarding:

  • Guest Support:

    • Fix DNS not propagated from base template (#4803, thanks to @opjt)
    • feat: validate macOS 26+ requirement for macOS guest VMs (#4809, thanks to @sharanrajt)
    • Busybox grep doesn't support the long form options (#4915, thanks to @jandubois)
    • Settle udev between sfdisk and lsblk (#4920, thanks to @jandubois)
    • Add Apparmor's fusermount3 custom rule for reverse SSHFS (#4968, thanks to @mie313)
  • Documentation:

    • Fix LIMA_SHELLENV_ALLOW docs to match implementation (#4832, thanks to @jandubois)
    • docs(stargz): drop Rosetta requirement note (#4860, thanks to @mvanhorn)
    • docs: add blogs section with curated CNCF and nttlabs posts (#4863, thanks to @singhvishalkr)
    • docs: add limactl help yq concept guide to explain yqlib limitations (#4886, thanks to @Mysterio-17)
    • docs: add network and disk management guide (#4925, thanks to @alliasgher)
    • docs: add base image update and supply chain guidance (#4963)

Full Changes: https://github.com/lima-vm/lima/milestone/71?closed=1

Thanks to @afbjorklund @AkihiroSuda @alexandear @alliasgher @Aneesh-Hegde @arixmkii @ashwat287 @InsidiousLion @jandubois @kolyshkin @mie313 @mn-ram @mvanhorn @Mysterio-17 @opjt @sahitya-chandra @sharanrajt @singhvishalkr @Soumya-codr @SwarritSrivastava @techthumb @trodemaster @valdela1 @varsha-0007 @vasileknik76 🙏🏻

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/26744671609

The sha256sum of the SHA256SUMS file itself is 84da4b818130a3601c2aafa53bca25a0e8088b4aa9780b451fc9b778f96b994b .


Release manager: Ansuman Sahoo (@unsuman)

Don't miss a new lima release

NewReleases is sending notifications on new releases.