mirror of https://github.com/apache/cloudstack.git
fix the long time issue that sometimes libvirt reports volume missing
This commit is contained in:
parent
d7a1af950a
commit
9439423317
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue