sudoers
limactl sudoers
Generate the content of the /etc/sudoers.d/lima file
Synopsis
Generate the content of the /etc/sudoers.d/lima file for enabling vmnet.framework support. The content is written to stdout, NOT to the file. This command must not run as the root. See /usr/local/share/doc/lima/docs/network.md for the usage.
limactl sudoers [--check [SUDOERSFILE-TO-CHECK]] [flags]
Examples
To generate the /etc/sudoers.d/lima file:
$ limactl sudoers | sudo tee /etc/sudoers.d/lima
To validate the existing /etc/sudoers.d/lima file:
$ limactl sudoers --check /etc/sudoers.d/lima
Options
--check check that the sudoers file is up-to-date with "~/.lima/_config/networks.yaml"
-h, --help help for sudoers
Options inherited from parent commands
--debug debug mode
--log-level string Set the logging level [trace, debug, info, warn, error]
SEE ALSO
- limactl - Lima: Linux virtual machines