From 2ad26d772334e8788f4ecf02f3f4fb05ff879f72 Mon Sep 17 00:00:00 2001 From: Harikrishna Patnala Date: Tue, 7 Oct 2014 14:28:09 +0530 Subject: [PATCH] CLOUDSTACK-7677: 4.2 systemvm template job failing Fixed the trailing and leading whitespaces in the hdd path Signed-off-by: SrikanteswaraRao Talluri --- tools/appliance/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh index f01cff6d281..595dd58fa3b 100644 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -46,7 +46,7 @@ done # Get appliance uuids machine_uuid=`vboxmanage showvminfo $appliance | grep UUID | head -1 | awk '{print $2}'` hdd_uuid=`vboxmanage showvminfo $appliance | grep vdi | head -1 | awk '{print $8}' | cut -d ')' -f 1` -hdd_path=`vboxmanage list hdds | grep "$appliance\/" | grep vdi | cut -c 14-` +hdd_path=`vboxmanage list hdds | grep "$appliance\/" | grep vdi | cut -c 14- | sed -e 's/^ *//' -e 's/ *$//'` # Remove any shared folder shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`