Skip to content

Commit

Permalink
fix OpenNebula#2354 cant use shared with fs_lvm
Browse files Browse the repository at this point in the history
Signed-off-by: kvaps <kvapss@gmail.com>
  • Loading branch information
kvaps committed Apr 17, 2019
1 parent aa9ed53 commit c5849d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tm_mad/shared/clone
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ SIZE="${XPATH_ELEMENTS[j++]}"
ORIGINAL_SIZE="${XPATH_ELEMENTS[j++]}"
TM_MAD="${XPATH_ELEMENTS[j++]}"

if [ -f "${DRIVER_PATH}/clone.${TM_MAD}" ]; then
exec "${DRIVER_PATH}/clone.${TM_MAD}" "$@"
fi

if [ "$TM_MAD" = "ssh" ]; then
MONITOR="ssh"
else
Expand Down
1 change: 1 addition & 0 deletions src/tm_mad/shared/clone.fs_lvm

0 comments on commit c5849d0

Please sign in to comment.