Skip to content

babariviere/vmctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vmctl: A tool to manage your VMs with Qemu

VM Configuration

The configuration is written in YAML for easy reading.

Here is an example

name: Linux # name of your VM
system: x86_64 # system architecture
# All of your drivers
drives:
  - name: OS # optional: name of the drive (useful for creation)
    type: qcow2 # default to auto
    path: path/to/image
    readonly: true # if the disk should be readonly
    interface: ide # interface of the disk
    media: disk # or cdrom
    size: 10G # useful for disk creation
# Cpu configuration
cpu:
  count: 2
  arch: Haswell
# Net configuration
net:
    redir:
        - host_port: 1234
          guest_port: 22
# Ram configuration
memory: 10G
# VGA configuration
vga: std
# Enable KVM
kvm: true
# Enable temporary snapshot
snapshot: true

All options can be found in the manual of qemu.

Usage

Spawn a VM: vmctl run <config.yml>

Create a disk: vmctl create <config.yml> [disk_name]

TODO

  • Spawn VM by name and not by configuration file
  • Spawn editor to edit VM configuration
  • Keep VM files in a folder
  • Commands: add, list, edit, delete and info

About

A tool to manage vms, use qemu

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages