Skip to main content

A libvirt-based VM management tool

Project description

VMFinder

PyPI

features

  • vm creation and management
  • template management
  • cloud image support
  • network management
  • disk management
  • virtio-fs shared folder support
  • cloud-init support

quick start

pip install vmfinder

vmfinder init
vmfinder install-completion

example usage:

vmfinder vm create rfuse_vm --template ubuntu-20.04 --cpu 12 --memory 20480 --disk-size 60 --force
vmfinder vm start rfuse_vm
vmfinder vm list
vmfinder vm console rfuse_vm
vmfinder vm ssh rfuse_vm
vmfinder vm ssh rfuse_vm --username ubuntu
vmfinder vm ssh rfuse_vm --key ~/.ssh/id_rsa
ssh -p 1234 ubuntu@<ip_address>
vmfinder vm set-password rfuse_vm
# extfuse
vmfinder vm create extfuse_vm --template ubuntu-16.04 --cpu 12 --memory 20480 --disk-size 60 --force
# cache_ext
vmfinder vm create cache_vm --template ubuntu-22.04 --cpu 12 --memory 20480 --disk-size 60 --force
# virtio-fs shared folder
vmfinder vm create vm1 \
    --template ubuntu-24.04 \
    --cpu 12 \
    --memory 20480 \
    --disk-size 80 \
    --force

# Start VM (virtiofsd will be started automatically)
vmfinder vm start vm1

# Manage virtiofsd manually
vmfinder virtiofs status vm1
vmfinder virtiofs stop vm1
vmfinder virtiofs start vm1 /path/to/shared/dir
vmfinder virtiofs restart vm1

Note: When creating a VM with --virtiofs, the virtiofsd daemon will be started automatically. The VM will automatically start/stop virtiofsd when you start/stop the VM. Inside the VM, mount the shared directory with:

sudo mkdir -p /mnt/shared
sudo mount -t virtiofs shared /mnt/shared

copyright 2025 wheatfox <wheatfox17@icloud.com>

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

vmfinder-0.2.0.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

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

vmfinder-0.2.0-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

Details for the file vmfinder-0.2.0.tar.gz.

File metadata

  • Download URL: vmfinder-0.2.0.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for vmfinder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ff92eae9a33e04c0b996210af491ae46dd54fa18456495fb317d12b4b15157ce
MD5 d31d8aab5d4acb51f67fd5cd87104d53
BLAKE2b-256 2dcc541d7edd2d07a3a06ba6737f038d8cb7a8ae678e7a9a9f72bdf7d428531f

See more details on using hashes here.

File details

Details for the file vmfinder-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: vmfinder-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 52.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for vmfinder-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ccedcf78c659be320365c4a1edfd102702175291d2132337fb6dee00bf88340
MD5 2a2aa82796be21fc3cc5d157c40e6d19
BLAKE2b-256 98ed75608f327cad6b20257cd382df334f2c49e7b893d67bfb0694afeb467cd5

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