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:
parent
2d05848e57
commit
650356f104
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue