Skip to main content

Create virtual machines quickly with virt-builder.

Project description

virt-up

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.

Source Distribution

virt_up-2.2.0.tar.gz (20.6 kB view hashes)

Uploaded Source

Built Distribution

virt_up-2.2.0-py3-none-any.whl (26.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page