scripting

Posts related to scripting, mainly using shell scripts.

Simplifying VM Management: Executing Commands in Guest VMs using Virsh

If you are using virsh/qemu for Virtual machine management, then there are many occasions when an administrator requires to run some commands on the guest VM. This is made very simple by “Quem-guest-agent.” This post demos two approaches to running a command in the Virtual guest machine. Prerequisite:(Teststed for Ubuntu Host and Guest Machine) Approach-1:

Simplifying VM Management: Executing Commands in Guest VMs using Virsh Read More »

An Amazingly fast way to create Virtual machines

If you create Virtual machines often and manually install the same tools repeatedly, this post is for you. Using ansible, I have written a simple playbook to create the virtual machines within seconds. The playbook would automatically install any desired software you want. The playbook would also run any command you would like to execute

An Amazingly fast way to create Virtual machines Read More »

Scroll to Top