You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2013/03/11 10:27:51 UTC

git commit: refs/heads/master - appliance: Fix hardcoded appliance name while checking and removing shared folders

Updated Branches:
  refs/heads/master 72c1a888e -> 7e7ceba83


appliance: Fix hardcoded appliance name while checking and removing shared folders

Signed-off-by: Rohit Yadav <bh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/7e7ceba8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7e7ceba8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7e7ceba8

Branch: refs/heads/master
Commit: 7e7ceba83bb71b9fb00f10643b90794d21c868ba
Parents: 72c1a88
Author: Rohit Yadav <bh...@apache.org>
Authored: Mon Mar 11 14:56:20 2013 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Mon Mar 11 14:56:20 2013 +0530

----------------------------------------------------------------------
 tools/appliance/build.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7e7ceba8/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index 74307a0..d18faaf 100644
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -52,7 +52,7 @@ hdd_path=`vboxmanage list hdds | grep $appliance | grep vdi | cut -c 14-`
 shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`
 while [ "$shared_folders" != "" ]
 do
-  vboxmanage sharedfolder remove systemvmtemplate --name "`echo $shared_folders | head -1 | cut -c 8- | cut -d \' -f 1`"
+  vboxmanage sharedfolder remove $appliance --name "`echo $shared_folders | head -1 | cut -c 8- | cut -d \' -f 1`"
   shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`
 done