From b96e5ee92793c629cfcac359b7e9d4aad9a00a22 Mon Sep 17 00:00:00 2001 From: Jan Orel Date: Fri, 16 Nov 2018 10:41:12 +0100 Subject: [PATCH] B #1955 Produce source xml for all given hosts (#2567) --- src/mad/sh/scripts_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index 64d0625356..196a9ca989 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -636,7 +636,7 @@ function get_source_xml { BCK_IFS=$IFS IFS=':' - unset k HOST_PARTS SOURCE_HOST + unset k HOST_PARTS for part in $host ; do HOST_PARTS[k++]="$part" @@ -836,7 +836,7 @@ function get_disk_information { fi SOURCE_ARGS="protocol='iscsi'" - SOURCE_HOST=$(get_source_xml $ISCSI_HOST) + SOURCE_HOST=$(get_source_xml "$ISCSI_HOST") if [ -n "$ISCSI_USAGE" -a -n "$ISCSI_USER" ]; then AUTH="\ @@ -866,7 +866,7 @@ function get_disk_information { fi SOURCE_ARGS="protocol='rbd'" - SOURCE_HOST=$(get_source_xml $CEPH_HOST) + SOURCE_HOST=$(get_source_xml "$CEPH_HOST") if [ -n "$CEPH_USER" -a -n "$CEPH_SECRET" ]; then AUTH="\