D 2018-07-17T14:28:24.822
L simple\sscripts
P 007df7ca40e987b25dc0a086827cc6e2d6343efd
U vitus
W 1806
First phase of project is to provide following scripts:
Conventions
# [project directory layout]
# [virtual machine directory]
# [monitor locking]
# [snapshot management]
features
* desktop integration - provided with SPICE client, you get seamless mouse integration, clipboard sharing and automatic screen resolution adjustment. You may need to install spice-guest-tools into virtual machine to get this functionality.
* sound - you get VM sound automatically redirected to your spice client
* usb - you can connect host usb devices using [vws] script or connect devices from the machine where your spice client is run via its GUI.
* cdrom - you can "insert" or "eject" iso images into virtual machine CD-ROM drive
* remote access - by default VM is accessable via localhost only. If you set
environment variable SPICE_PASSWORD to some password, you can access VMs via network using this password.
* snapshots - you can start VM in snapshot mode, where no changes to VM filesystem is save after VM shutdown. You can have stack of on-disk snapshots of known-good vm state, which can be restored anytime (but only powered-off vms can be snapshotted or reverted).
* moving around - you can copy vm to other host (when it is powered off) just copying its files.
* Easy import. You can create VMs based on virtual disk images from VMWare, Virtual box, virt-manager and so on. Any image, understandable by qemu-img would do
Requirements and system preparation
# [Software requirements]
# [Setting up bridge interface]
# [Users and groups]
# [Installation]
# [client configuration]
scripts
# [vm script]
# [vws]
# [bridgecfg]
# [find_free_port]
# [vws.conf]
Z f37680ef5a9afe567e095471b9a842ac