Skip to main content

Create virtual machines quickly with virt-builder.

Project description


virt-up is a command line tool for creating virtual machines quickly on a local KVM hypervisor using virt-builder and virt-install

Virtual machines are created from existing digitally signed OS images, which are downloaded and cached. A template virtual machine is created from the downloaded image. Optionally, an ansible playbook is executed to further customize the templates. Virtual machines are then cloned from the templates to quickly create new instances.

A login user and the ssh keys to connect to the new virtual machines are created automatically. The login user is given sudo access. Connection information is stored in a json meta data file for each virtual machine created. An ansible inventory file is created for the templates and instances to make it easier to run ansible playbooks for further configuration.

Complete documentation here

System requirements

  • Python 3.6+
  • libvirt based hypervisor (qemu/KVM)
  • libvirt, python-libvirt
  • libguestfs-tools (virt-builder, virt-sysprep, virt-clone)
  • libosinfo (osinfo-db)
  • qemu-utils (qemu-img)
  • virt-manager (virt-install)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for virt-up, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size virt_up-2.0.0-py3-none-any.whl (24.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size virt_up-2.0.0.tar.gz (19.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page