Skip to content

docs: document missing LIMA_CIDATA_* env vars#4988

Open
c-tonneslan wants to merge 1 commit into
lima-vm:masterfrom
c-tonneslan:docs/cidata-env-vars
Open

docs: document missing LIMA_CIDATA_* env vars#4988
c-tonneslan wants to merge 1 commit into
lima-vm:masterfrom
c-tonneslan:docs/cidata-env-vars

Conversation

@c-tonneslan
Copy link
Copy Markdown

Closes #2791.

Several `LIMA_CIDATA_*` variables set in `pkg/cidata/cidata.TEMPLATE.d/lima.env` weren't listed in `website/content/en/docs/dev/internals.md`. Added them alongside the existing entries (disks near mounts, rosetta near slirp, etc).

I also added a handful of variables that the issue didn't list because they were introduced after #2791 was filed (`UPGRADE_PACKAGES`, `YQ_PROVISION_*`, `NO_CLOUD_INIT`). The spirit of the issue is "keep this list in sync with the env file," so it seemed worth pulling them in too. Happy to drop them if you'd prefer a tighter scope.

Test plan

Docs-only change.

```
go build ./...
```

builds, but no behavior changed.

Several variables defined in pkg/cidata/cidata.TEMPLATE.d/lima.env
weren't listed in the internals doc. Pulled them in alongside the
existing entries, grouped near related variables (disks next to mounts,
rosetta near slirp, etc). Closes lima-vm#2791.

Also adds entries that were added to the template after the issue was
filed (UPGRADE_PACKAGES, YQ_PROVISION_*, NO_CLOUD_INIT) since the issue's
ask was really "keep docs in sync with the env file."

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
@AkihiroSuda AkihiroSuda added the documentation Improvements or additions to documentation label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Various LIMA_CIDATA_* variables are not documented

2 participants