From aaccbc3806b6738ae2f56e23ec3b185f43a5751e Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 11 Mar 2009 22:33:32 +0000 Subject: Brush ups ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2715 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmchooser/README | 20 +++++++++++--------- .../init-hooks/40-started-hw-config/run-virt.sh | 22 ++++++++++++++++++++-- 2 files changed, 31 insertions(+), 11 deletions(-) (limited to 'os-plugins') diff --git a/os-plugins/plugins/vmchooser/README b/os-plugins/plugins/vmchooser/README index a9d12764..29434bcc 100644 --- a/os-plugins/plugins/vmchooser/README +++ b/os-plugins/plugins/vmchooser/README @@ -2,18 +2,20 @@ VirtualMachine Chooser - plugin =============================== -This Plugin uses an external program to show -a list of sessions, from which a user can choose. +This Plugin uses an additionally provided program to display a list of virtual +machine sessions (vm's provided by other plugins), from which a user can choose. -This Programm is included in binary format. You -can look into the sources at +This Programm is included in binary format. You can look into the sources at svn://svn.openslx.org/srv/svn/openslx/openslx-src-tools/os-plugins/plugins/vmchooser/ -There you can change the program to your needs -and compile it with the included Makefile. +There you can change the program to your needs and compile it with the included +Makefile. +Additionally the plugin provides a script to start a specific virtual machine +preconfigured. Parts of the configuration are taken from an xml file which +should be provided with each container file. You will find additional infor- +mation online at: http://lab.openslx.org/wiki/openslx/Vmchooser -Use at your own risk! -No warranty is given by the author -of this software for any purposes! +Use at your own risk! No warranty is given by the author of this software for +any purposes! diff --git a/os-plugins/plugins/vmchooser/init-hooks/40-started-hw-config/run-virt.sh b/os-plugins/plugins/vmchooser/init-hooks/40-started-hw-config/run-virt.sh index 8960de74..7f1ae20d 100644 --- a/os-plugins/plugins/vmchooser/init-hooks/40-started-hw-config/run-virt.sh +++ b/os-plugins/plugins/vmchooser/init-hooks/40-started-hw-config/run-virt.sh @@ -1,3 +1,21 @@ +# Copyright (c) 2009 - RZ Uni Freiburg +# Copyright (c) 2009 - OpenSLX GmbH +# +# This program/file is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your feedback to feedback@openslx.org +# +# General information about OpenSLX can be found at http://openslx.org +# +# Stage3 part of 'vmchooser' plugin - this script detects additionally to the +# the standard hardware configuration the availability of optical and floppy +# drives for virtual machines. +# +# The script is included from init via the "." load function - thus it has all +# variables and functions available. + waitfor /tmp/hwcfg -hwinfo --cdrom | grep -i "Device File:" | awk {'print $3'} >/etc/hwinfo.cdrom & -hwinfo --floppy | grep -i "Device File:" | awk {'print $3'} >/etc/hwinfo.floppy & +( hwinfo --cdrom | grep -i "Device File:" | awk {'print $3'} >/etc/hwinfo.cdrom ) & +( hwinfo --floppy | grep -i "Device File:" | awk {'print $3'} >/etc/hwinfo.floppy ) & -- cgit v1.2.3-55-g7522