From e478852798e0ba385fd474a64858e87a326e5135 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 24 Apr 2009 14:15:14 +0000 Subject: 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 --- os-plugins/plugins/vmchooser/files/run-virt.sh | 5 ++-- os-plugins/plugins/vmware/files/run-virt.include | 29 ++++++++++++++++++++---- 2 files changed, 28 insertions(+), 6 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 ">${conffile} +${serialdev} + +# parallel port +parallel0.present = \"${parallel}\" +parallel0.bidirectional = \"${paralbidi}\" +${paraldev}" >>${conffile} # set the appropriate permissions for the vmware config file chmod u+rwx ${conffile} >/dev/null 2>&1 @@ -231,14 +236,13 @@ case "$enable3d" in ;; esac -# serial port defined (e.g. "ttyS0" or "autodetect") -serial=$(grep -i "