mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-22 22:03:39 +03:00
feature #1303: changed datastores to use sh downloader
This commit is contained in:
parent
fb398ff9b2
commit
44af5b0907
@ -78,7 +78,7 @@ if [ -n "$SHA1" ]; then
|
||||
HASHES="$HASHES --sha1 $SHA1"
|
||||
fi
|
||||
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.rb $HASHES $SRC $DST"
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.sh $HASHES $SRC $DST"
|
||||
|
||||
# ------------ Copy the image to the repository -------------
|
||||
|
||||
|
@ -101,7 +101,7 @@ if [ -n "$SHA1" ]; then
|
||||
HASHES="$HASHES --sha1 $SHA1"
|
||||
fi
|
||||
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.rb $HASHES $SRC -"
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.sh $HASHES $SRC -"
|
||||
|
||||
case $SRC in
|
||||
http://*)
|
||||
|
@ -90,7 +90,7 @@ if [ -n "$SHA1" ]; then
|
||||
HASHES="$HASHES --sha1 $SHA1"
|
||||
fi
|
||||
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.rb $HASHES $SRC -"
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.sh $HASHES $SRC -"
|
||||
|
||||
case $SRC in
|
||||
http://*)
|
||||
|
@ -78,7 +78,7 @@ if [ -n "$SHA1" ]; then
|
||||
HASHES="$HASHES --sha1 $SHA1"
|
||||
fi
|
||||
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.rb $HASHES $SRC $DST"
|
||||
COPY_COMMAND="$UTILS_PATH/downloader.sh $HASHES $SRC $DST"
|
||||
|
||||
# ------------ Copy the image to the repository -------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user