Skip to main content

Interactive CLI tool for provisioning virtual machines using virt-install (LOGGIE infrastructure)

Project description

🧰 logninja-create-vm

A secure, interactive CLI utility for creating virtual machines using virt-install, built for the LOGGIE decentralized infrastructure stack.

🔐 Part of the LogNinja Ecosystem
👤 Maintained by: loggie.eth
🪙 Powered by: LOGGIE Token


🚀 What is this?

This tool makes it easy to provision Ubuntu-based VMs on any machine running KVM/QEMU and libvirt. Perfect for:

  • Building secure test environments
  • Spawning decentralized AI workers
  • Automating node deployment in a Docker Swarm cluster

⚙️ Features

  • ✅ Interactive prompts for VM config
  • ✅ Optional CLI flag automation
  • ✅ Logging to both terminal and vm_provision.log
  • ✅ Validates ISO path before provisioning
  • ✅ Compatible with virt-manager and headless VNC

📦 Installation

pip install logninja-create-vm

or 

pip install --upgrade --no-cache-dir logninja-create-vm

🧠 Flag Description Required

--name Name of the VM ✅ --ram RAM in MB ✅ --vcpus Number of virtual CPUs ✅ --disk Disk size in GB ✅ --iso Path to ISO image ✅ --os-variant OS variant (default: ubuntu22.04) ❌ --network Network to attach to (default: default) ❌ --headless Run without a VNC console (useful for headless installs) ❌ --tag Optional tag for VM identification (e.g. logninja) ❌ --guide Display instructions for managing and connecting to the VM ❌

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

logninja_create_vm-0.1.4.dev0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

logninja_create_vm-0.1.4.dev0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file logninja_create_vm-0.1.4.dev0.tar.gz.

File metadata

  • Download URL: logninja_create_vm-0.1.4.dev0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for logninja_create_vm-0.1.4.dev0.tar.gz
Algorithm Hash digest
SHA256 154c01dd980965c1b549fbddf25ca8355a5f4344363a3f7126b1543e21a95a80
MD5 0a789744f99900d63ce10cbef7020a66
BLAKE2b-256 61a19fa19581de728e67896281c584dec0781e679d51f3f7ec674439973e4e61

See more details on using hashes here.

File details

Details for the file logninja_create_vm-0.1.4.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for logninja_create_vm-0.1.4.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 285fb5a2ac15622d5ec3f559359ddcd43c5f7aac2b4203b46585f561744468a1
MD5 04d6d5552981c86c1312d87fc744fe80
BLAKE2b-256 d1cc2d8727231eb00debb2ced366bab38d3bfa97e8fabc46ed2a1d1275985b6a

See more details on using hashes here.

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