Skip to content

Commit 7e7ceba

Browse files
committed
appliance: Fix hardcoded appliance name while checking and removing shared folders
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent 72c1a88 commit 7e7ceba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/appliance/build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ hdd_path=`vboxmanage list hdds | grep $appliance | grep vdi | cut -c 14-`
5252
shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`
5353
while [ "$shared_folders" != "" ]
5454
do
55-
vboxmanage sharedfolder remove systemvmtemplate --name "`echo $shared_folders | head -1 | cut -c 8- | cut -d \' -f 1`"
55+
vboxmanage sharedfolder remove $appliance --name "`echo $shared_folders | head -1 | cut -c 8- | cut -d \' -f 1`"
5656
shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`
5757
done
5858

0 commit comments

Comments
 (0)