summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorMichael Neves2013-05-14 17:20:27 +0200
committerMichael Neves2013-05-14 17:20:27 +0200
commit3cd0adfa2a95a3a33c7e03a297466deb08a51e0e (patch)
treea1bd84b0f22396d0d98338587c577d18ce0c0d02 /remote/modules
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-3cd0adfa2a95a3a33c7e03a297466deb08a51e0e.tar.gz
tm-scripts-3cd0adfa2a95a3a33c7e03a297466deb08a51e0e.tar.xz
tm-scripts-3cd0adfa2a95a3a33c7e03a297466deb08a51e0e.zip
vmware fixes
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include2
1 files changed, 1 insertions, 1 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 65db53da..bc93d68b 100644
--- a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
+++ b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
@@ -421,7 +421,7 @@ esac
# check if ide/scsi and hwver of image
# read only the first 30 lines to be shure
-imghead=$(head -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" |\