Create VM on PowerKVM using virt-install

VM can be created in multiple ways

1) Management layers like Openstack/PowerVC/CMO, Kimchi..etc

PowerVC: https://psuriset.wordpress.com/2014/08/11/powervc-managing-powerkvm/

Kimchi:  https://psuriset.wordpress.com/2014/08/09/kimchi-on-powerkvm/

2) If user would like to create VM using virt-install,

a) Create an image using qemu-img and start install

qemu-img create -f qcow2 /var/lib/libvirt/images/powerkvm.qcow2 8G
virt-install  --bridge= --mac= --disk path=/var/lib/libvirt/images/powerkvm.qcow2,size=8,format=qcow2 
--name= --ram=1024 --cdrom=

b) Access console of VM using virsh or virt-veiwer and continue install

virsh console

or

virt-viewer

Advertisements