Skip to content

limactl should be installed with lima-guestagent.Linux-{{.Arch}} and templates #36874

@civitaspo

Description

@civitaspo

package name

lima-vm/lima

aqua info

$ aqua info
{
  "version": "2.48.1",
  "commit_hash": "0f07dc7754411f8874199d2a62308fed36744f88",
  "os": "darwin",
  "arch": "arm64",
  "pwd": "/Users/(USER)/src/github.com/civitaspo/dotfiles",
  "root_dir": "/Users/(USER)/.local/share/aquaproj-aqua",
  "env": {
    "AQUA_GLOBAL_CONFIG": ":/Users/(USER)/.config/aquaproj-aqua/aqua.yaml"
  },
  "config_files": [
    {
      "path": "/Users/(USER)/src/github.com/civitaspo/dotfiles/aqua.yaml"
    }
  ]
}

Overview

When Lima starts, it needs the files
~/.local/share/aquaproj-aqua/share/lima/lima-guestagent.Linux-aarch64 and
~/.local/share/aquaproj-aqua/share/lima/templates,
but they aren’t installed by default. These files are included in the lima package’s share/lima directory (the lima-guestagent.Linux-aarch64 file is gzip-compressed). Therefore, they should be installed along with Lima.

How to reproduce

aqua.yaml

packages:
- name: lima-vm/lima@v1.1.1

Executed command and output

$ limactl start
FATA[0000] failed to find "lima-guestagent.Linux-aarch64" binary for "/Users/takahiro.nakayama/.local/share/aquaproj-aqua/bin/limactl", attempted [/Users/takahiro.nakayama/.local/share/aquaproj-aqua/bin/lima-guestagent.Linux-aarch64 /Users/takahiro.nakayama/.local/share/aquaproj-aqua/share/lima/lima-guestagent.Linux-aarch64] 

Expected behaviour

When lima starts, no errors are displayed.

Actual behaviour

When lima starts, file not found errors are displayed.

Note

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions