0
0
Go to file
Nils Freydank b4f5beaa69
control-m.sh: Move config into dir, change suffix into .bash
To me it looks cleaner if all data are inside a subdirectory.
The handling script itself stays outside, which brings us to a structure
like this (as also mentioned in the file itself):

 ${HOME}/vm/
 ${HOME}/vm/control-vm.sh
 ${HOME}/vm/Gentoo-guest-1/virtual-machine.img
 ${HOME}/vm/Gentoo-guest-1/virtual-machine.bash

 While on it, rename the file suffix of the config file that is sourced
 by the main script into '.bash'.

This is a breaking change, paths in configs need to be adopted.
2024-05-05 18:28:44 +02:00
.gitignore Initial commit 2021-09-30 11:49:37 +02:00
control-vm.sh control-m.sh: Move config into dir, change suffix into .bash 2024-05-05 18:28:44 +02:00
LICENSE-MIT Drop the copyright year from all files 2024-05-05 18:28:43 +02:00
README.adoc Drop the copyright year from all files 2024-05-05 18:28:43 +02:00
todo control-vm.sh, todo: Housekeeping 2024-05-05 18:28:40 +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 that you do not see any 'setup' command there a one-shot boot from ISO is not implemented.

Contact

If you have questions, suggestions or want to brag about your other qemu managing tools feel free to write an email or conact me via IRC: mail: nils@holgersson.xyz IRC: holgersson on libera.chat and oftc, mostly in Gentoo related channels

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.