This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:libvirt [2014-05-12 10:21] arekm [Installation] |
docs:libvirt [2014-05-15 09:36] (current) arekm [Changing guest configuration (config file)] |
||
---|---|---|---|
Line 9: | Line 9: | ||
qemu-img create -f qcow2 /var/lib/libvirt/images/test.qcow2 64G | qemu-img create -f qcow2 /var/lib/libvirt/images/test.qcow2 64G | ||
</file> | </file> | ||
+ | |||
+ | ==== Resize image ==== | ||
+ | |||
+ | <file> | ||
+ | qemu-img resize /var/lib/libvirt/images/test.qcow2 +10G | ||
+ | </file> | ||
+ | |||
+ | and then resize partition table and filesystem. | ||
==== Installation ==== | ==== Installation ==== | ||
Line 35: | Line 43: | ||
<file> | <file> | ||
virsh autostart test | virsh autostart test | ||
+ | </file> | ||
+ | |||
+ | ==== Changing guest configuration (config file) ==== | ||
+ | |||
+ | <file> | ||
+ | virsh edit test | ||
</file> | </file> | ||