Skip to main content

docker-compose style composer for qemu

Project description

qemu-compose

qemu-compose aims to provide a docker-compose style composer for qemu command, with advanced scripting feature as well as http support for cloud init or general purpose provisioning.

Bring up a qemu VM by providing a qemu-compose.yml and run qemu-compose up

Advantages

  • Very simple and robust, written of several pure python scripts, depends on qemu commands only.
  • No libvirt stuff, no daemon process, no xml config, no complex abstraction, just a simple wrapper around qemu args.
  • support before_script and after_script for setup and cleanup
  • support boot_commands for vm provisioning (implemented using tty communication, gui not supported yet, and use jsonlisp for expressive power which apparently is turing-complete)
  • support http_serve for cloudinit
  • env interpolation for advanced configuration

Installation

$ pip install qemu-compose

Examples and Screenshot

bring up ubuntu cloudimg qemu vm and run a interactive shell

$ cd ./script/ubuntu-cloudimg__amd64/
$ qemu-compose up

Demo:

asciicast

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

qemu_compose-0.6.1.tar.gz (88.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qemu_compose-0.6.1-py3-none-any.whl (104.3 kB view details)

Uploaded Python 3

File details

Details for the file qemu_compose-0.6.1.tar.gz.

File metadata

  • Download URL: qemu_compose-0.6.1.tar.gz
  • Upload date:
  • Size: 88.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qemu_compose-0.6.1.tar.gz
Algorithm Hash digest
SHA256 746e43e19a1e23515ba63609a04b9eb37102a1a98bc2d97b56535a692032b2b4
MD5 a64b40ebba23e6cc5c9d952e30ea294f
BLAKE2b-256 1cee1cc0a6076ea51df4f8dad03d496f67a45f0f1fac406c55c8d5341ba0917f

See more details on using hashes here.

Provenance

The following attestation bundles were made for qemu_compose-0.6.1.tar.gz:

Publisher: pypi.yml on zTrix/qemu-compose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qemu_compose-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: qemu_compose-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 104.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qemu_compose-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecb8f2057c65267cdcec7aa16a079a82c8e2b7f58b062fcf163aebc72d846836
MD5 411c01429f0a177865192cfb4b001b96
BLAKE2b-256 8160c38652bd5fc8da3aefdbbb89443b5ab7c9b5ef57dbf6bf82f4d73d8f32d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for qemu_compose-0.6.1-py3-none-any.whl:

Publisher: pypi.yml on zTrix/qemu-compose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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