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.1.tar.gz (44.0 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.1-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vmfinder-0.2.1.tar.gz
  • Upload date:
  • Size: 44.0 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.1.tar.gz
Algorithm Hash digest
SHA256 f44585a5fe47c43768611fd26380fd48a83de355672684113384eababeb1b126
MD5 5cd035f944a15832d6eed3d70b690fb6
BLAKE2b-256 58965d648d8be6abb71959ebf0cb7036eee5aa4d9d1cc8ebf975c43df46a06eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vmfinder-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 52.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ddab6825ac1d61e692d221c8aaa85201a1718e84fea54df1852667eefb80ce0
MD5 b596a5a8af24e771ac9cc83ba1ad4241
BLAKE2b-256 026ba614d81a21b023bc4e17bd5bca65ae0a3fe9812702bf301d542184bd5a70

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