mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Bug #1911: Add different comment for CDROM
This commit is contained in:
1 parent
d0b3cf96a7
commit
53e50632f3
1 file changed
+5
-1
@@ -126,7 +126,11 @@ http://*|https://* )
|
||||
exit -1
|
||||
fi
|
||||
|
||||
log "Copying local disk folder $SRC to the image repository"
|
||||
if ! is_cdrom; then
|
||||
log "Copying local disk folder $SRC to the image repository"
|
||||
else
|
||||
log "Copying local CD-ROM $SRC to the image repository"
|
||||
fi
|
||||
|
||||
if [ ! -d $SRC -a ! is_cdrom ]; then
|
||||
exec_and_log "$COPY_COMMAND" "Error copying $SRC to $TMP_DIR/$DST_FOLDER"
|
||||
|
||||
Reference in new issue
Block a user