summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmchooser/files/run-virt.sh
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-04-24 16:15:14 +0200
committerDirk von Suchodoletz2009-04-24 16:15:14 +0200
commite478852798e0ba385fd474a64858e87a326e5135 (patch)
tree6dc90dc58da4908eaa229ee352477250a67589d8 /os-plugins/plugins/vmchooser/files/run-virt.sh
parentuse 8.10 dkms install method for ubuntu 9.04 gfx stuff (diff)
downloadcore-e478852798e0ba385fd474a64858e87a326e5135.tar.gz
core-e478852798e0ba385fd474a64858e87a326e5135.tar.xz
core-e478852798e0ba385fd474a64858e87a326e5135.zip
Trying to support attachment of serial/parallel devices in virtual
machines (vmware plugin only at the moment), see #419 ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2827 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh')
-rw-r--r--os-plugins/plugins/vmchooser/files/run-virt.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh
index 41144edd..d7539701 100644
--- a/os-plugins/plugins/vmchooser/files/run-virt.sh
+++ b/os-plugins/plugins/vmchooser/files/run-virt.sh
@@ -87,8 +87,9 @@ vmostype=$(grep -io "<os param=.*\"" ${xml} | awk -F "\"" '{ print $2 }')
# Definition of the networking the client system is connected to
network_kind=$(grep -io "<network param=.*\"" ${xml} | awk -F "\"" '{ print $2 }')
-# Serial port defined (e.g. "ttyS0" or "autodetect")
-serial=$(grep -io "<serial port=.*\"" ${xml} | awk -F "\"" '{ print $2 }')
+# Serial/parallel ports defined (e.g. "ttyS0" or "autodetect")
+serial=$(grep -io "<serialport param=.*\"" ${xml} | awk -F "\"" '{ print $2 }')
+parallel=$(grep -io "<parport param=.*\"" ${xml} | awk -F "\"" '{ print $2 }')
# Declaration of default variables