From 1d989a91d6ffe1df39da372acfcc9c4569f749f3 Mon Sep 17 00:00:00 2001 From: Dirk Date: Mon, 28 Jan 2013 22:19:13 +0100 Subject: VirtBox cannot run VMDKs in the way used here ... --- src/os-plugins/plugins/virtualbox/files/run-virt.include | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/os-plugins') diff --git a/src/os-plugins/plugins/virtualbox/files/run-virt.include b/src/os-plugins/plugins/virtualbox/files/run-virt.include index cd5329a1..3e35af89 100644 --- a/src/os-plugins/plugins/virtualbox/files/run-virt.include +++ b/src/os-plugins/plugins/virtualbox/files/run-virt.include @@ -1,7 +1,7 @@ # run-virt.include # ----------------------------------------------------------------------------- # Copyright (c) 2009..2011 - RZ Uni Freiburg -# Copyright (c) 2009..2012 - OpenSLX GmbH +# Copyright (c) 2009..2013 - OpenSLX GmbH # # This program/file is free software distributed under the GPL version 2. # See http://openslx.org/COPYING @@ -74,10 +74,10 @@ diskfile="${diskfolder}/${imgname}" [ ${diskless} -eq 0 ] && ln -sf ${vmpath} ${diskfile} # check the file type -if echo ${imgname} | grep -qiE "vdi|vmdk|vhd" && [ ${diskless} -eq 0 ]; then +if echo ${imgname} | grep -qiE "vdi|vhd" && [ ${diskless} -eq 0 ]; then imgfmt=$(echo ${imgname##*.} | tr "[a-z]" "[A-Z]") elif [ ${diskless} -eq 0 ]; then - writelog "${imgname} is not a valid image format (vdi|vmdk|vhd), exiting!" + writelog "${imgname} is not a valid image format (vdi|vhd), exiting!" cleanexit 1 fi -- cgit v1.2.3-55-g7522