mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
(cherry picked from commit 653b67095da0081b0951a922ce6f313d61f60d24)
This commit is contained in:
parent
cf86a53f46
commit
ed6bdac234
@ -109,7 +109,7 @@ COPY_COMMAND="$UTILS_PATH/downloader.sh $DOWNLOADER_ARGS"
|
||||
if echo "$SRC" | grep -vq '^https\?://'; then
|
||||
if [ `check_restricted $SRC` -eq 1 ]; then
|
||||
log_error "Not allowed to copy images from $RESTRICTED_DIRS"
|
||||
error_message "Not allowed to copy image file $SRC"
|
||||
error_message "Not allowed to copy image from $SRC, check RESTRICTED_DIRS in your datastore"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user