Applicable to:
- SolusVM 2
Question
How to create SolusVM 2 custom image?
Answer
- Shutdown the VM you want to use for the new image
- Connect over SSH to Compute Resource where VPS exists
- Find the VPS image path:
# virsh domblklist ID | grep da | awk {'print $2'}
where ID is Hypervisor ID in UI
For example:
# virsh domblklist c581f0eb-43d0-4b4b-8af4-47a983a451ae | grep da | awk {'print $2'} /var/lib/libvirt/images/287/c581f0eb-43d0-4b4b-8af4-47a983a451ae
- Сonvert the image into qcow2 format:
# qemu-img convert -O qcow2 /var/lib/libvirt/images/287/1d908a4276bc26d017101a2a15381b1e /var/lib/libvirt/images/287/windows-2019-custom.qcow2
- Upload the image to a host with a webserver, where you can download the image from with http/https URL
- Add image to SolusVM 2
Comments
0 commentsPlease sign in to leave a comment.