summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-08-01 20:21:08 +0200
committerDirk von Suchodoletz2007-08-01 20:21:08 +0200
commit424e2464c47766de1f780af4811b20d7a1195c21 (patch)
treef85943ae11668459dd8cf6a29d333e5365c54278 /initramfs
parentAllow local device source for vmware/virt.machine stuff too. Removed (diff)
downloadcore-424e2464c47766de1f780af4811b20d7a1195c21.tar.gz
core-424e2464c47766de1f780af4811b20d7a1195c21.tar.xz
core-424e2464c47766de1f780af4811b20d7a1195c21.zip
Small bug in servconfig fixed ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1301 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index cbb3e331..da5f8721 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -124,11 +124,12 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then
fi
if [ -n "${vmimgserv}" ] ; then
testmkd /mnt/var/lib/vmware
- case "${vmimgsprot}" in
+ case "${vmimgprot}" in
*nbd)
;;
- file)
- # we expect the stuff on toplevel directory
+ lbdev)
+ # we expect the stuff on toplevel directory, filesystem type should be
+ # autodetected here ... (vmimgserv is blockdev here)
mount -o ro /dev/${vmimgserv} /mnt/var/lib/vmware || error "$scfg_evmlm"
;;
*)