diff options
Diffstat (limited to 'remote/modules/vmplayer/data')
| -rw-r--r-- | remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include index 45ff2d72..0267656d 100644 --- a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include +++ b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include @@ -309,7 +309,7 @@ confdir=/tmp/vmware/${USER}.$$ # configfile conffile="${confdir}/run-vmware.conf" # diskfile -diskfile=${vmpath} +diskfile="${vmpath}" # users vmware config folder vmhome="${HOME}/.vmware" @@ -400,7 +400,7 @@ esac # check if ide/scsi and hwver of image # read only the first 30 lines to be sure -imghead=$(head -n 30 ${diskfile}) +imghead=$(head -n 30 "${diskfile}") hddrv=$(echo "${imghead}" | grep -m1 -ia "ddb.adapterType" | awk -F '"' '{print $2}') hwver=$(echo "${imghead}" | grep -m1 -ia "ddb.virtualHWVersion" | awk -F '"' '{print $2}') case "${hddrv}" in |
