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.
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
Built Distribution
File details
Details for the file virt_up-2.2.0.tar.gz
.
File metadata
- Download URL: virt_up-2.2.0.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4834a8187976f91129fc9919a95213c1d0e928c74b40597f45a9ee1c515e3bc5 |
|
MD5 | 7abf903d82634985b575a2cd17eb71b0 |
|
BLAKE2b-256 | 0bb4d5ac978dd57f5aaccaa9d4e3b0e074253e2223b107dbf84b674b331a2cb1 |
File details
Details for the file virt_up-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: virt_up-2.2.0-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5071e3d1daa055260643fe75703f98aa13f19c9f00685f0b0b6cc10b3572908f |
|
MD5 | 35ab0c1aa85a73336a54786887bbcc9a |
|
BLAKE2b-256 | f2eb0d0466484145730ad3e79a1d485cd2fdb0e43f147ca244f3885bc57189f6 |