rposudnevskiy / RBDSR

RBDSR - XenServer/XCP-ng Storage Manager plugin for CEPH
GNU Lesser General Public License v2.1
58 stars 23 forks source link

install.sh problems #38

Closed erdosip closed 7 years ago

erdosip commented 7 years ago

Hy!

I just used your script and found 2 bug in the install.sh...

The first one is the if statement, cause it's stopped the running. I put 3 ";" after the closing "]" tags, and the script goes forward...

The second one is the sparse_dd saving/copying. First you mv the original, with -orig ending, and it's fine. After that, you run this "cp bins/sparse_dd /usr/libexec/xapi/sparse_dd-orig"

After the script finished, you loose the orig file, and the toolstack will not start, since the sparse_dd binary will missing.

Sorry, that I not push codes, but I'am not familiar with proper developing methods... :(

Regards, Peter

rposudnevskiy commented 7 years ago

Hi, Fixed. Thank you very much.