Skip to content

recolic/simple-vm-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super-Simple QEMU manager script

Designed for single user desktop / home server.

Turn your server/desktop to DigitalOcean / Linode / Vultr with a super-simple script.

  • Easy setup: No dependency, no libvirt, no user/group/pool config.

  • Easy configuration: Simple list your VMs in config file.

  • Easy management: Everything in one single directory.

  • Easy customization: Just a naive bash script. Everyone knows how to customize.

Dependency

qemu, bash, sed

Any of: aria2c / wget / curl

ArchLinux user: simply run pacman -S cdrkit qemu-system-x86 qemu-base edk2-ovmf aria2

Usage

  1. Download this repo to anywhere.
  2. Modify init.settings and runtime.settings.
  3. Add * * * * * flock -n /tmp/.vmm.lockfile /path/to/your/cron-callback.sh into your crontab.

Supported cloudimg

Ubuntu 2204 LTS focal-server-cloudimg-amd64.img
Arch Linux Rolling Arch-Linux-x86_64-cloudimg.qcow2

Supported back image

Warning: This is unofficial back image built by myself. It has preset username and password. USE IT AT YOUR OWN RISK!!!.

Windows 10 Pro 22H2 win10pro-22h2-virtio-uefi.qcow2
Tiny10 Minimal 21H2 win10-tiny10-virtio-uefi.qcow2

FAQ

SSH not working for my new VM

Please wait for at least 3 minutes and try again. cloud-init is slow.

My desired OS is not supported yet...

You can still create a VM in other way (like plain qemu), and put the disk image into data/vm/VM_NAME/disk.img. Everything will work perfectly.

Or you can also use an existing qcow2 image as base image. Put it into data/base/ and use it in init.settings.

Thanks

ChatGPT

About

Super-Simple QEMU manager script; This is a read-only mirror for https://git.recolic.net/root/simple-vm-manager.git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages