rmnimimage support SN noderange/nodegroup.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2010-09-06 09:03:10 +00:00
parent fa397e2ed4
commit 28209caf5b

View File

@ -4278,7 +4278,7 @@ sub prermnimimage
}
elsif ($::SERVERLIST)
{
@servicenodes = split(',', $::SERVERLIST);
@servicenodes = xCAT::NodeRange::noderange($::SERVERLIST, 1);
}
else
{
@ -4407,7 +4407,7 @@ sub rmnimimage
# should not need the next two checks???
if ($::SERVERLIST)
{
@servernodelist = xCAT::NodeRange::noderange($::SERVERLIST);
@servernodelist = xCAT::NodeRange::noderange($::SERVERLIST, 1);
if (!grep(/^$Sname$/, @servernodelist))
{