docs/HACKING: add a note about how to grow the image
Yesterday, I spent more hours than I would like to admit debugging tests that was failing because the Fedora cloud base image has only 4 GB disk space. This commit adds a note for the future me.
This commit is contained in:
parent
12b8ec2f58
commit
baea7ac7ee
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ To start a ephemeral virtual machine using this repository, run:
|
|||
|
||||
`IMAGE` has to be a path to an cloud-init-enabled image matching the host
|
||||
operating system, because that's what the packages where built for above.
|
||||
Note that the Fedora/RHEL cloud images might be too small for some tests
|
||||
to pass. Run `qemu-img resize IMAGE 10G` to grow them, cloud-init's growpart
|
||||
module will grow the root partition automatically during boot.
|
||||
|
||||
The second argument points to a directory from which cloud-init user-data is
|
||||
generated (see `tools/gen-user-data` for details). The one given above tries to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue