Install virtual machines in one line
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. virt-install \ -n myVM \...
View Articlesupernova – manage multiple openstack environment
supernova is an easy to use tool that helps manage multiple openstack environments. Details – Name : supernova Arch : noarch Epoch : 0 Version : 2.2.0 Release : 2.fc24 Size...
View Articleansible with docker dynamic inventory
So, I have a few dockers. Every now and then I want to run some command on all of them. Doing ‘docker exec’ is tiresome. I found this neat solution with ansible that I thought I should share with you....
View ArticleSeparation Anxiety: A Tutorial for Isolating Your System with Linux Namespaces
With the advent of tools like Docker, Linux Containers, and others, it has become super easy to isolate Linux processes into their own little system environments. This makes it possible to run a whole...
View ArticleFix display size on libvirt/Qemu guest
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 about...
View ArticleBetter windows VM experience on Qemu
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...
View ArticleAdd ova file as VM on Linux with libvirt (Qemu)
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...
View Articlevagrant box to libvirtd (QEMU) VM
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...
View ArticleLinked clone with qemu-img
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....
View Articlelibvirt- Create virtual machine with text console only interface
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 and...
View Article