support the regular expression in the hosts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0a226feef7
commit
1138ab87d4
@ -79,7 +79,7 @@ sub findme {
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
unless ($mac) {
|
||||
xCAT::MsgUtils->message("S", "Discovery Error: Could not find the mac of the $ip.");
|
||||
return;
|
||||
@ -917,7 +917,7 @@ sub getfreeips () {
|
||||
}
|
||||
}
|
||||
|
||||
my @hostsent = $hoststb->getAllAttribs('node', 'ip');
|
||||
my @hostsent = $hoststb->getAllNodeAttribs(['node', 'ip']);
|
||||
my %usedips = ();
|
||||
foreach my $host (@hostsent) {
|
||||
if (defined ($host->{'ip'}) && !$predefips{$host->{'ip'}}) {
|
||||
|
Loading…
Reference in New Issue
Block a user