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/vmware/files/run-virt.include | 29 ++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'os-plugins/plugins/vmware/files/run-virt.include') diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include index 56b37d4d..a9c8fb04 100644 --- a/os-plugins/plugins/vmware/files/run-virt.include +++ b/os-plugins/plugins/vmware/files/run-virt.include @@ -141,7 +141,12 @@ isolation.tools.paste.enabled = \"TRUE\" # serial port serial0.present = \"${serial}\" -${serialdev}" >>${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 "