clone

limactl clone

Clone an instance of Lima

Synopsis

Clone an instance of Lima.

Not to be confused with ’limactl copy’ (’limactl cp’).

limactl clone OLDINST NEWINST [flags]

Options

      --cpus int            [limactl edit] Number of CPUs
      --disk float32        [limactl edit] Disk size in GiB
      --dns ipSlice         [limactl edit] Specify custom DNS (disable host resolver) (default [])
  -h, --help                help for clone
      --memory float32      [limactl edit] Memory in GiB
      --mount strings       [limactl edit] Directories to mount, suffix ':w' for writable (Do not specify directories that overlap with the existing mounts)
      --mount-inotify       [limactl edit] Enable inotify for mounts
      --mount-none          [limactl edit] Remove all mounts
      --mount-type string   [limactl edit] Mount type (reverse-sshfs, 9p, virtiofs)
      --mount-writable      [limactl edit] Make all mounts writable
      --network strings     [limactl edit] Additional networks, e.g., "vzNAT" or "lima:shared" to assign vmnet IP
      --rosetta             [limactl edit] Enable Rosetta (for vz instances)
      --set string          [limactl edit] Modify the template inplace, using yq syntax
      --video               [limactl edit] 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.
  -y, --yes                 Alias of --tty=false

SEE ALSO

  • limactl - Lima: Linux virtual machines