Skip to content

Commit 814c1c2

Browse files
committed
Mention tool virt-sparsify
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
1 parent 4ec6f1f commit 814c1c2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

setup-testlab/create_vm_image.org

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ End-result: A virtual machine with:
114114
This Fedora-Cloud image have a 10 sec. delay when logging in as root, remove
115115
that via editing /root/.ssh/authorized_keys.
116116

117-
* Increasing disk capacity
117+
* Disk capacity
118+
** Increasing VM disk capacity
118119

119120
The remaining disc capacity is getting low, it will be unfortunate if this
120121
disrupt the tutorial. Thus, we resize the VM disk. First shutdown the VM.
@@ -135,6 +136,11 @@ partprobe
135136
resize2fs /dev/vda1
136137
#+end_example
137138

139+
** Reduce VM image size
140+
141+
Before uploading, use the tool =virt-sparsify= to reduce disk capacity used
142+
by VM image. And afterwards also compress image, to reduce download size.
143+
138144
* Extra manual changes
139145

140146
Cloned some git trees in user 'fedora' home directory.

0 commit comments

Comments
 (0)