Revision dde9cf31 src/datastore_mad/remotes/downloader.sh

View differences:

src/datastore_mad/remotes/downloader.sh
182 182
                        SOURCE \
183 183
                        PARAM_DS \
184 184
                        PARAM_CEPH_USER \
185
                        PARAM_CEPH_KEY \
185 186
                        PARAM_CEPH_CONF)
186 187

  
187 188
    USER="${URL_ELEMENTS[j++]}"
......
189 190
    SOURCE="${URL_ELEMENTS[j++]}"
190 191
    DS="${URL_ELEMENTS[j++]}"
191 192
    CEPH_USER="${URL_ELEMENTS[j++]}"
193
    CEPH_KEY="${URL_ELEMENTS[j++]}"
192 194
    CEPH_CONF="${URL_ELEMENTS[j++]}"
193 195

  
194 196
    # Remove leading '/'
......
202 204
        RBD="$RBD --id ${CEPH_USER}"
203 205
    fi
204 206

  
207
    if [ -n "$CEPH_KEY" ]; then
208
        RBD="$RBD --keyfile ${CEPH_KEY}"
209
    fi
210

  
205 211
    if [ -n "$CEPH_CONF" ]; then
206 212
        RBD="$RBD --conf ${CEPH_CONF}"
207 213
    fi

Also available in: Unified diff