Desktop Virtualization

libvirt- Create virtual machine with text console only interface

2019/05/27

virt-install is an amazing tool to create VMs. If you have created a config file (Kickstart file – ks.cfg), then its only one line un-attended install. If you are using this on remote host with ssh …

Linked clone with qemu-img

2018/04/09

As you would have seen in Virtualbox or vmware, there is option to create a linked clone. I wanted to use the same feature as “Snapshot” feature anyway does not look/work so great with virt-manager. …

vagrant box to libvirtd (QEMU) VM

2018/03/26

Like ova images, you can use box images as well with Qemu. After all, both have the disk images, so here is the script to do that. Just put the script somewhere in your path and run with ova or box …

Add ova file as VM on Linux with libvirt (Qemu)

2018/02/12

Although the commands are very simple and just 2-3 steps but I keep forgetting them and hence wrote the following script: The script takes input as “ova” filename and then creates the qcow2 image and …

Better windows VM experience on Qemu

2018/01/29

With Qemu resize and copy-paste option, Windows VM seems to be lacking all this. This can be fixed by installing the spice tools in Windows VM. To do this, head over to spice space and download the …

Fix display size on libvirt/Qemu guest

2017/05/22

Lot of times I find myself of VM that does not correctly resize the screen display and that is literally nuisance. So, here is quick and dirty fix for this. First you need to find out information …

Install virtual machines in one line

2016/07/25

To install a VM from command line, you can use the following command. Change the required parameters as need but you need to change at-least CDROM iso image and disk-path.

Python script to manage virtual machines with python API for libvirt.

2016/07/04

Most of times I use virt-manager to manage VMs but sometimes, I have to manage VMs on other hosts over ssh when connected over VPN or while I am working remotely. GUI like virt-manager thus becomes …

Most simple and fast lightweight container with Fedora systemd

2016/04/15

If you need to have a quick bash shell in sandbox with not network as well, then the most simple command I could find so far is: sudo virt-sandbox -c lxc:/// /bin/bash For this you will need to have …

virsh – show ip address of all running VMs

2016/02/01

If you are using the libvirt and associated tools, then you must be aware about virt-manager. However this being a GUI tools, it is not possible to always use this. “virsh” is a good option for this. …

docker search description truncated

2015/05/05

When you search with “docker search”, you would notice that the description of the image is truncated. Sometimes you want to see full description, to do so, you can use –no-trunc option. So, for …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it