Fix variable name in createtmplt.sh

This commit is contained in:
butanet 2012-05-27 00:38:01 +09:00 committed by David Nalley
parent f5eefc0493
commit 2c001bbe21

View File

@ -97,7 +97,7 @@ create_from_file() {
local tmpltimg="$2"
local tmpltname=$3
if [ -b $tmpltimg ]; then
$qemu-img convert -f raw -O qcow2 "$tmpltimg" /$tmpltfs/$tmpltname
$qemu_img convert -f raw -O qcow2 "$tmpltimg" /$tmpltfs/$tmpltname
else
$qemu_img convert -f qcow2 -O qcow2 "$tmpltimg" /$tmpltfs/$tmpltname >& /dev/null
fi