fix the long time issue that sometimes libvirt reports volume missing

This commit is contained in:
Edison Su 2011-09-02 01:00:48 -07:00
parent d7a1af950a
commit 9439423317
1 changed files with 1 additions and 3 deletions

View File

@ -101,9 +101,7 @@ create_from_file() {
local tmpltimg=$2
local tmpltname=$3
#copy the file to the disk
cp $tmpltimg /$tmpltfs/$tmpltname
$qemu_img convert -f qcow2 -O qcow2 $tmpltimg /$tmpltfs/$tmpltname >& /dev/null
if [ "$cleanup" == "true" ]
then