diff options
| author | Simon Rettberg | 2013-05-14 18:54:48 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-05-14 18:54:48 +0200 |
| commit | 362fbbb7c888e125b0270eda89878859eac0e3f4 (patch) | |
| tree | 67eb9d52db7d7aa9ce306ccb4f464cd7c275b378 /remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include | |
| parent | pxelinux.0 (diff) | |
| parent | change ipxe source (diff) | |
| download | tm-scripts-362fbbb7c888e125b0270eda89878859eac0e3f4.tar.gz tm-scripts-362fbbb7c888e125b0270eda89878859eac0e3f4.tar.xz tm-scripts-362fbbb7c888e125b0270eda89878859eac0e3f4.zip | |
Merge branch 'master' of dnbd3:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include')
| -rw-r--r-- | remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include | 2 |
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" |\ |
