The QEMU-based VM registered with `limactl start-at-login` in `launchd` does not start.
- Dominant language
- Go
- Stars
- 21.9k
- Forks
- 957
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 53
Description
### Description
`launchd` only sets the `PATH` environment variable to `/usr/bin:/bin:/usr/sbin:/sbin`, so `limactl` fails to start because it cannot find `qemu-system-`.
The VM can be started by adding the following configuration to `io.lima-vm.autostart..plist`:
```xml
EnvironmentVariables
PATH
/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin
```
It would be beneficial if one of the following were done:
- The above configuration is automatically added to `io.lima-vm.autostart..plist`.
- The path to the QEMU to be used can be set in `lima.yaml`, and `limactl` can utilize it.
- An equivalent to the `QEMU_SYSTEM_` environment variable can be set in `lima.yaml`, and `limactl` can utilize it.
Thanks,
Contributor guide
Assessment
This issue has not been assessed yet.