mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
597 B
Plaintext
18 lines
597 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# virt-clone
|
|
|
|
> Clone a libvirt virtual machine.
|
|
> More information: <https://manned.org/virt-clone>.
|
|
|
|
- Clone a virtual machine and automatically generate a new name, storage path, and MAC address:
|
|
|
|
`virt-clone {{[-o|--original]}} {{vm_name}} --auto-clone`
|
|
|
|
- Clone a virtual machine and specify the new name, storage path, and MAC address:
|
|
|
|
`virt-clone {{[-o|--original]}} {{vm_name}} {{[-n|--name]}} {{new_vm_name}} {{[-f|--file]}} {{path/to/new_storage}} {{[-m|--mac]}} {{ff:ff:ff:ff:ff:ff|RANDOM}}`
|