docs:libvirt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docs:libvirt [2014-05-12 10:01] – english glen | docs:libvirt [2014-05-15 09:36] (current) – [Changing guest configuration (config file)] arekm | ||
---|---|---|---|
Line 9: | Line 9: | ||
qemu-img create -f qcow2 / | qemu-img create -f qcow2 / | ||
</ | </ | ||
+ | |||
+ | ==== Resize image ==== | ||
+ | |||
+ | < | ||
+ | qemu-img resize / | ||
+ | </ | ||
+ | |||
+ | and then resize partition table and filesystem. | ||
==== Installation ==== | ==== Installation ==== | ||
< | < | ||
- | virt-install -r 4096 --accelerate -n test -f / | + | virt-install -r 4096 --accelerate -n test \ |
+ | -f / | ||
+ | --cdrom / | ||
+ | --network=type=direct, | ||
+ | --graphics vnc, | ||
+ | --noautoconsole | ||
</ | </ | ||
Line 30: | Line 43: | ||
< | < | ||
virsh autostart test | virsh autostart test | ||
+ | </ | ||
+ | |||
+ | ==== Changing guest configuration (config file) ==== | ||
+ | |||
+ | < | ||
+ | virsh edit test | ||
</ | </ | ||
docs/libvirt.1399881689.txt.gz · Last modified: 2014-05-12 10:01 by glen