Skip to main content

Python helper CLI for virt-install(1)

Project description

Python CLI helper for virt-install(1)

Installation

Use pip to install.:

pip install kvminstall

This will automatically install the utility into your PATH.

Usage

usage: kvminstall [-h] [-c CLONE] [-i IMAGE] [-v VCPUS] [-r RAM] [-d DISK]
                      [-D DOMAIN] [-N NETWORK] [--type TYPE]
                      [--variant VARIANT] [-f CONFIGFILE]
                      name

positional arguments:
  name                  name of the new virtual machine

optional arguments:
  -h, --help            show this help message and exit
  -c CLONE, --clone CLONE
                        name of the source logical volume to be cloned
  -i IMAGE, --image IMAGE
                        image file to duplicate
  -v VCPUS, --vcpus VCPUS
                        number of virtual CPUs
  -r RAM, --ram RAM     amount of RAM in MB
  -d DISK, --disk DISK  disk size in GB
  -D DOMAIN, --domain DOMAIN
                        domainname for dhcp / dnsmasq
  -N NETWORK, --network NETWORK
                        libvirt network
  --type TYPE           os type, i.e., linux
  --variant VARIANT     os variant, i.e., rhel7
  -f CONFIGFILE, --configfile CONFIGFILE
                        specify an alternate config file, default=~/.config
                    /kvm-install/config.yaml

Example

Assume that you have a pre-built base image with an LVM backend in the libvirt_lvm VG.:

kvminstall -c /dev/libvirt_lvm/rhel71base examplevm

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

kvminstall-0.1.3.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file kvminstall-0.1.3.tar.gz.

File metadata

  • Download URL: kvminstall-0.1.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kvminstall-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7fc1070fc8e91ca1fd1c9a71136004d4e6981520731988928afbbc072ac8e449
MD5 22da4650784add6a4177bf0541ce91ed
BLAKE2b-256 7cb62aeba1b850b6b5c75fd2357ab6a33832f05567f42568aacf60b5f8ede683

See more details on using hashes here.

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