1
0
Fork 0
mirror of https://github.com/BlackLight/vmctl.git synced 2024-05-23 15:12:32 +02:00

Added README section for KVM raw disk image -> VDI conversion

This commit is contained in:
Fabio Manganiello 2022-03-07 16:55:01 +01:00
parent 2d05848e57
commit 650356f104

View file

@ -57,7 +57,7 @@ temporarily disable pacman keyring checks upon package installation by
uncommenting the relevant lines in `src/helpers/install.sh` (function: uncommenting the relevant lines in `src/helpers/install.sh` (function:
`install_os`). `install_os`).
### Resizing an existing image ### Resize an existing image
```bash ```bash
qemu-img resize "$imgfile" +10G qemu-img resize "$imgfile" +10G
@ -71,3 +71,9 @@ qemu-img create -o backing_file="$imgfile",backing_fmt=raw -f qcow2 img1.cow
This is particularly useful if you want to have a "base" image and several customized This is particularly useful if you want to have a "base" image and several customized
images built on it. images built on it.
### Convert a raw qemu image to a VirtualBox
```bash
qemu-img convert -O vdi disk.img disk.vdi
```