Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-03 00:21:19 +00:00
parent fe5e4dcb31
commit a44c60008a
37 changed files with 286 additions and 21 deletions

17
tldr/linux/virt-clone Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, linux]
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}}`