edit

limactl edit

Edit an instance of Lima or a template

limactl edit INSTANCE|FILE.yaml [flags]

Options

      --cpus int            number of CPUs
      --dns ipSlice         specify custom DNS (disable host resolver) (default [])
  -h, --help                help for edit
      --memory float32      memory in GiB
      --mount strings       directories to mount, suffix ':w' for writable (Do not specify directories that overlap with the existing mounts)
      --mount-inotify       enable inotify for mounts
      --mount-type string   mount type (reverse-sshfs, 9p, virtiofs)
      --mount-writable      make all mounts writable
      --network strings     additional networks, e.g., "vzNAT" or "lima:shared" to assign vmnet IP
      --rosetta             enable Rosetta (for vz instances)
      --set string          modify the template inplace, using yq syntax
      --video               enable video output (has negative performance impact for QEMU)

Options inherited from parent commands

      --debug               debug mode
      --log-format string   Set the logging format [text, json] (default "text")
      --log-level string    Set the logging level [trace, debug, info, warn, error]
      --tty                 Enable TUI interactions such as opening an editor. Defaults to true when stdout is a terminal. Set to false for automation.

SEE ALSO

  • limactl - Lima: Linux virtual machines