June 2017
Intermediate to advanced
340 pages
8h 22m
English
Configuring a virtual machine by writing the XML file, can be quite tedious and error-prone. An easier way of creating the VM from an existing image, or from an installation media (which can be physical, virtual, or a network location), is using the virt-install tool. Lets see an example of creating the same KVM instance using that tool.
root@kvm:~# apt install virtinst...root@kvm:~#
root@kvm:~# virt-install --name kvm1 --ram 1024 --disk path=/tmp/debian.img,format=raw --graphics vnc,listen=146.20.141.158 --noautoconsole ...
Read now
Unlock full access