edit

limactl edit

Edit an instance of Lima or a template

limactl edit INSTANCE|FILE.yaml [flags]

Options

      --block-device strings   Host block devices to attach on supported backends, e.g. /dev/disk4
      --cpus int               Number of CPUs
      --disk float32           Disk size in GiB
      --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-none             Remove all mounts
      --mount-only strings     Similar to --mount, but overrides the existing mounts
      --mount-type string      Mount type (reverse-sshfs, 9p, virtiofs)
      --mount-writable         Make all mounts writable
      --nested-virt            Enable nested virtualization
      --network strings        Additional networks, e.g., "vzNAT" or "lima:shared" to assign vmnet IP
      --param stringArray      Set a template parameter, e.g. name=value. Can be passed multiple times.
      --rosetta                Enable Rosetta (for vz instances)
      --set stringArray        Modify the template inplace, using yq syntax. Can be passed multiple times. See 'limactl help yq-restrictions' for limitations.
      --ssh-port uint16        SSH port (0 for random)
      --start                  Start the instance after editing
      --video                  Enable video output (has negative performance impact for QEMU)
      --vm-type string         Virtual machine type

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.
  -y, --yes                 Alias of --tty=false

SEE ALSO

  • limactl - Lima: Linux virtual machines