From 83340c08abdc1fca857e8ddd65254ad79d7efb9a Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Wed, 10 Jan 2007 19:18:19 +0000 Subject: auto detect name of cdrom and floppy. /dev/cdrom does not work on our ibm thinkcenter git-svn-id: http://svn.openslx.org/svn/openslx/trunk@611 95ad53e4-c205-0410-b2fa-d234c58c8868 --- vmware/runvmware | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vmware/runvmware b/vmware/runvmware index 819e7777..9966be74 100755 --- a/vmware/runvmware +++ b/vmware/runvmware @@ -7,7 +7,7 @@ # Michael Janczyk , 10-01-2007 # Copyright: (c) 2003, 2006 - RZ Universitaet Freiburg # -# Version: 0.16.610 +# Version: 0.16.611 # ################################################################################ @@ -43,11 +43,13 @@ runvmwareconfheader () ide0:0.fileName = \"${tmpdir}/disk\" ide1:0.present = \"${cdr_1}\" - ide1:0.fileName = \"${cdr_1_name}\" + ide1:0.autodetect = \"TRUE\" + ide1:0.fileName = \"auto detect\" ide1:0.deviceType = \"cdrom-raw\" ide1:1.present = \"${cdr_2}\" - ide1:1.fileName = \"${cdr_2_name}\" + ide1:1.autodetect = \"TRUE\" + ide1:1.fileName = \"auto detect\" ide1:1.deviceType = \"cdrom-raw\" ###### scsi-disks ############################################################ @@ -69,7 +71,7 @@ runvmwareconfheader () ###### floppies ############################################################## floppy0.present = \"${floppya}\" - floppy0.fileName = \"/dev/fd0\" + floppy0.fileName = \"auto detect\" floppy1.present = \"${floppyb}\" floppy1.fileType = \"file\" @@ -174,9 +176,7 @@ memgig= permem=66 # virtual devices cdr_1="FALSE" -cdr_1_name="/dev/cdrom" cdr_2="FALSE" -cdr_2_name="/dev/cdrom1" floppya="FALSE" floppyb="FALSE" # place for the virtual floppy "B:" -- cgit v1.2.3-55-g7522