1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-12 09:17:41 +03:00

feature #1112: Disable 'http://' sources in vmware cp datastore method

This commit is contained in:
Jaime Melis 2012-02-29 16:15:41 +01:00
parent bb1303c9e6
commit 7a487c7308

View File

@ -49,14 +49,6 @@ DST=`generate_image_path`
# ------------ Copy the image to the repository -------------
case $SRC in
http://*)
log "Downloading $SRC to the image repository"
exec_and_log "$WGET -O $DST $SRC" "Error downloading $SRC"
exec_and_log "chmod 0660 $DST"
;;
*)
if [ `check_restricted $SRC` -eq 1 ]; then
log_error "Not allowed to copy images from $RESTRICTED_DIRS"