From 53e50632f36f22ab7bb2d0007de40cdcd796a1ec Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Tue, 23 Apr 2013 12:47:13 +0200 Subject: [PATCH] Bug #1911: Add different comment for CDROM --- src/datastore_mad/remotes/vmfs/cp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/datastore_mad/remotes/vmfs/cp b/src/datastore_mad/remotes/vmfs/cp index 24bd0cbefa..408806b5c7 100755 --- a/src/datastore_mad/remotes/vmfs/cp +++ b/src/datastore_mad/remotes/vmfs/cp @@ -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"