mirror of https://github.com/apache/cloudstack.git
Fix variable name in createtmplt.sh
This commit is contained in:
parent
f5eefc0493
commit
2c001bbe21
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue