0
0
Go to file
2024-06-23 21:47:03 +02:00
testing Add a wrapper for shellsheck 2024-06-23 11:47:01 +02:00
.gitignore Initial commit 2021-09-30 11:49:37 +02:00
control-vm.sh control-vm.sh: Bump to 1.0.0 2024-06-23 21:47:03 +02:00
LICENSE-MIT Drop the copyright year from all files 2024-05-05 18:28:43 +02:00
README.adoc README.adoc: Add mastodon handle to contact section, reformat 2024-06-23 11:59:43 +02:00
todo control-vm.sh: Refactor logic and provide a help output 2024-06-23 21:46:44 +02:00

control-vm.sh

Table of Contents

This repository contains a simple bash script to start and stop virtual machines run by QEMU and KVM and to connect to them via SSH or VNC or SPICE.

The newest version can be probably found on https://git.holgersson.xyz/nfr/control-vm.

Note
While the author already runs this software in "production" on his private setup he would still conside some parts as beta quality. As usual its strongly recommended to create backups first and read through the bash script to understand roughly what it does.

Installation

Please install the following tools which are used by the script:

Usage

./control-vm.sh <name of your virtual machine> start | shutdown | stop | connect | save | restore | pause | resume"
Note
You do not see any 'setup' command there as Ive implemented no one-shot boot from ISO so far.

Contact

If you have questions, suggestions or want to brag about your other qemu managing tools feel free to write an email or conact via IRC or mastodon:

  • mail: nils@holgersson.xyz

  • IRC: holgersson on libera.chat and oftc, mostly in Gentoo related channels

  • mastodon: https://maly.io/@holgersson

The bash script and its documentation (this README) are licensed as MIT, copyright by Nils Freydank.

The used software has each is own license, but is all FLOSS software.