From c8cbb665183e7e20810ef181625606e6fe2cddf6 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 28 Jan 2008 14:47:17 +0000 Subject: [PATCH] Remove DSH_LIST support git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@338 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client-2.0/bin/xdsh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/xCAT-client-2.0/bin/xdsh b/xCAT-client-2.0/bin/xdsh index 52eb09eb2..cfce63fe7 100644 --- a/xCAT-client-2.0/bin/xdsh +++ b/xCAT-client-2.0/bin/xdsh @@ -90,14 +90,6 @@ if (!($::NODE_RSH)) } } -if (!($cmdref->{noderange}->[0])) # if no node range defined -{ - if ($ENV{'DSH_LIST'}) # if file of nodes input - { - push(@{$cmdref->{env}}, "DSH_LIST=$ENV{'DSH_LIST'}"); - - } -} if (!($::NODE_OPTS)) { if ($ENV{'DSH_NODE_OPTS'}) @@ -312,6 +304,14 @@ sub check_invalid_exports # DSH_NODEGROUP_PATH # For support Env Variables tell them to use the command line flag ## + if ($ENV{'DSH_LIST'}) # if file of nodes input + { + xCAT::MsgUtils->message( + "I", + "DSH_LIST is set but is not supported. It will be ignored.\n" + ); + + } if ($ENV{'DSH_NODE_LIST'}) { xCAT::MsgUtils->message(