Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 759 Bytes

README.rst

File metadata and controls

46 lines (26 loc) · 759 Bytes

This script is used to create vm (using libvirt) from cloud images.

Pre-requirements

Packages:-

  • libvirt
  • virt-install
  • genisoimage
  • qemu-img

For Fedora

dnf install -y libvirt virt-install genisoimage qemu-img

For CentOS/RHEL

yum install -y libvirt virt-install genisoimage qemu-img

How to use

Step-1: Download cloud images in same directory.

Step-2: Start vmcreation script

sudo python vmcreation.py <downloaded_image_name>

Step-3: Connect to console

sudo virsh console <vm_name>