User Tools

Site Tools


docs:libvirt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
docs:libvirt [2014-05-11 12:59]
arekm created
docs:libvirt [2014-05-11 13:01]
arekm
Line 1: Line 1:
 +==== Sparse image ====
  
-Sparse image: +<​file>​
 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>​
  
-Installation:+==== Installation ​====
  
 +<​file>​
 virt-install -r 4096 --accelerate -n testowy -f /​var/​lib/​libvirt/​images/​test.qcow2 --cdrom /​CentOS-6.5-x86_64-bin-DVD1.iso --network=type=direct,​source=eth0 --graphics vnc,​listen=0.0.0.0 --noautoconsole virt-install -r 4096 --accelerate -n testowy -f /​var/​lib/​libvirt/​images/​test.qcow2 --cdrom /​CentOS-6.5-x86_64-bin-DVD1.iso --network=type=direct,​source=eth0 --graphics vnc,​listen=0.0.0.0 --noautoconsole
 +</​file>​
 +
 +==== Deleting guest ====
 +
 +<​file>​
 +virsh
 +destroy testowy
 +undefine testowy
 +</​file>​
docs/libvirt.txt · Last modified: 2014-05-15 09:36 by arekm