1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

bug #1754: delete trailing : from xen attach_disk prefix

This commit is contained in:
Javi Fontan 2013-02-06 18:14:56 +01:00
parent 49ab858b3f
commit 7cdb954bbb

View File

@ -66,7 +66,7 @@ if [ -n "$DRIVER" ]; then
FILE_PREFIX="$DRIVER"
fi
FULL_DISK="$FILE_PREFIX:$SOURCE"
FULL_DISK="${FILE_PREFIX%:}:$SOURCE"
if [ "$READONLY" = "YES" ]; then
MODE="r"