Exercise: Deployment a CentOS appliance VM.
Download a tar ball with CentOS VM into /tmp and extract its content into KVM directory:
Copy the xml file with VM configuration into directory /etc/libvirt/qemu as shown below;
the img file with the VM root file system stays in KVM directory.
tar -zxvf /tmp/CentOS7_VM.tgz
Assign hostadm user and group ownership on the both, xml and img, files:
Define the new VM configuration in KVM:
sudo cp CentOS7.xml /etc/libvirt/qemu
sudo chown hostadm:hostadm /etc/libvirt/qemu/CentOS7.xml
sudo chown hostadm:hostadm CentOS7.img
Start the new VM:
sudo virsh define /etc/libvirt/qemu/CentOS7.xml
Login to the new VM console as user root with password unisys: