virt-clone
Clone a libvirt virtual machine. More information: <https://manned.org/virt-clone>.
Install
- All systems
-
curl cmd.cat/virt-clone.sh
- Debian
-
apt-get install virtinst
- Ubuntu
-
apt-get install virtinst
- Alpine
-
apk add virt-install
- Arch Linux
-
pacman -S virt-install
- Kali Linux
-
apt-get install virtinst
- CentOS
-
yum install python-virtinst
- Fedora
-
dnf install virt-install
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install virtinst
- Raspbian
-
apt-get install virtinst
- Dockerfile
- dockerfile.run/virt-clone
- Docker
-
docker run cmd.cat/virt-clone virt-clone
powered by Commando
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 --original vm_name --auto-clone
-
Clone a virtual machine and specify the new name, storage path, and MAC address:
virt-clone --original vm_name --name new_vm_name --file path/to/new_storage --mac ff:ff:ff:ff:ff:ff|RANDOM
© tl;dr; authors and contributors