summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/vmware/files/run-virt.include
diff options
context:
space:
mode:
authorMichael Janczyk2009-11-03 20:07:51 +0100
committerMichael Janczyk2009-11-03 20:07:51 +0100
commit39466a0472f46c3e6c4c84a4751d435a3a191eb5 (patch)
treecc26155cf8597cb66d8e29e28f252f87f15ae623 /os-plugins/plugins/vmware/files/run-virt.include
parentbugfix create dir (diff)
downloadcore-39466a0472f46c3e6c4c84a4751d435a3a191eb5.tar.gz
core-39466a0472f46c3e6c4c84a4751d435a3a191eb5.tar.xz
core-39466a0472f46c3e6c4c84a4751d435a3a191eb5.zip
more OpenSLX path optimizations
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3184 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/vmware/files/run-virt.include')
-rw-r--r--os-plugins/plugins/vmware/files/run-virt.include32
1 files changed, 1 insertions, 31 deletions
diff --git a/os-plugins/plugins/vmware/files/run-virt.include b/os-plugins/plugins/vmware/files/run-virt.include
index e3da346e..f2d45b83 100644
--- a/os-plugins/plugins/vmware/files/run-virt.include
+++ b/os-plugins/plugins/vmware/files/run-virt.include
@@ -15,12 +15,6 @@
# - component for vmware/player of the vmchooser plugin run-virt.sh
# -----------------------------------------------------------------------------
-# include default directories
-. /etc/opt/openslx/openslx.conf
-# include general configuration from vmchooser
-. ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/run-virt.include
-
-
# configuration writer functions
################################################################################
@@ -239,7 +233,7 @@ vmhome="${HOME}/.vmware"
logfile=${OPENSLX_DEFAULT_LOGDIR}/run-vmware.${USER}.$$.log
# get several version infos for vmware/player
-. /etc/vmware/slxvmconfig
+. ${OPENSLX_DEFAULT_CONFDIR}/plugins/vmware/vmware.conf
vmbuild=$buildversion
vmversion=$version
@@ -329,30 +323,6 @@ else
memhost=$(expr ${totalmem} - ${mem} - ${mem})
fi
-# virtual fd/cd/dvd and drive devices, floppy b: for configuration
-# if $floppy_0 from run-virt.include set then fdtest="TRUE"
-fdtest=
-fdtest=${floppy_0:+"TRUE"}
-# if $fdtest not set floppy0="FALSE", else "TRUE"
-floppy0=${fdtest:-"FALSE"}
-floppy1="TRUE"
-floppy1name="${OPENSLX_DEFAULT_CONFDIR}/plugins/vmchooser/loopimg/fd.img"
-# if $cdrom_0 from run-virt.include set then cdtest="TRUE"
-cdtest=
-cdtest=${cdrom_0:+"TRUE"}
-# if $cdtest not set cdrom0="FALSE", else "TRUE"
-cdrom0=${cdtest:-"FALSE"}
-# if $cdrom_1 from run-virt.include set then cdtest="TRUE"
-cdtest=
-cdtest=${cdrom_1:+"TRUE"}
-# if $cdtest not set cdrom1="FALSE", else "TRUE"
-cdrom1=${cdtest:-"FALSE"}
-# ide is expected default, test for the virtual disk image type should
-# be done while creating the runscripts ...
-ide="TRUE"
-scsi="FALSE"
-hddrv="ide"
-
# check if ide/scsi and hwver of image
# read only the first 30 lines to be shure
imghead=$(head -30 ${diskfile})