From f405d49cadc32bffe1f556fb42fc128647f88aca Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Wed, 29 Apr 2009 16:13:19 +0000 Subject: adding support of serial / parallel port to vmware plugin git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2836 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm | 3 ++- os-plugins/plugins/vmware/files/run-virt.include | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'os-plugins/plugins/vmware') diff --git a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm index e2394f27..7e6840cc 100644 --- a/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm +++ b/os-plugins/plugins/vmware/OpenSLX/Distro/Suse.pm @@ -168,8 +168,9 @@ sub fillRunlevelScript echo -n "Starting vmware background services ..." # load the configuration file . /etc/vmware/slxvmconfig - # hack to access the first serial port + # hack to access the first serial/parallel port chmod a+rw /dev/ttyS0 + chmod a+rw /dev/parport0 load_modules setup_vmnet0 setup_vmnet1 diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include index a9c8fb04..f20b8d65 100644 --- a/os-plugins/plugins/vmware/files/run-virt.include +++ b/os-plugins/plugins/vmware/files/run-virt.include @@ -252,7 +252,7 @@ case "$serial" in ;; esac case "$parallel" in - lp*) + lp*|parport*) paraldev="parallel0.filename = \"/dev/${parallel}\"" paralbidi="TRUE" parallel="TRUE" -- cgit v1.2.3-55-g7522