We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3beb75c commit c1aa3a3Copy full SHA for c1aa3a3
1 file changed
tools/appliance/build.sh
@@ -56,7 +56,7 @@ done
56
# Get appliance uuids
57
machine_uuid=`vboxmanage showvminfo $appliance | grep UUID | head -1 | awk '{print $2}'`
58
hdd_uuid=`vboxmanage showvminfo $appliance | grep vdi | head -1 | awk '{print $8}' | cut -d ')' -f 1`
59
-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 's/^ *//'`
60
61
# Remove any shared folder
62
shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`
0 commit comments