You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ke...@apache.org on 2012/05/28 20:19:52 UTC
git commit: Fix variable name in createtmplt.sh
Updated Branches:
refs/heads/3.0.x 94ddad7aa -> fc7032450
Fix variable name in createtmplt.sh
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/fc703245
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/fc703245
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/fc703245
Branch: refs/heads/3.0.x
Commit: fc7032450a4b9779781692c0135e63e27f37a78c
Parents: 94ddad7
Author: butanet <bu...@gmail.com>
Authored: Sun May 27 00:38:01 2012 +0900
Committer: David Nalley <da...@gnsa.us>
Committed: Mon May 28 14:19:10 2012 -0400
----------------------------------------------------------------------
scripts/storage/qcow2/createtmplt.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/fc703245/scripts/storage/qcow2/createtmplt.sh
----------------------------------------------------------------------
diff --git a/scripts/storage/qcow2/createtmplt.sh b/scripts/storage/qcow2/createtmplt.sh
index 34601ec..bc0d84f 100755
--- a/scripts/storage/qcow2/createtmplt.sh
+++ b/scripts/storage/qcow2/createtmplt.sh
@@ -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