Fixed the wrong callback structre that caused defect 3510390
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d7eb796165
commit
fd6ca4e8d6
@ -213,13 +213,13 @@ sub addnode6 {
|
||||
#omshell to add host dynamically
|
||||
my $node = shift;
|
||||
unless ($vpdhash) {
|
||||
$callback->({node=>{name=>[$node],warning => ["Skipping DHCPv6 setup due to missing vpd.uuid information."]}});
|
||||
$callback->({node=>[{name=>[$node],warning => ["Skipping DHCPv6 setup due to missing vpd.uuid information."]}]});
|
||||
return;
|
||||
}
|
||||
my $ent = $vpdhash->{$node}->[0]; #tab->getNodeAttribs($node, [qw(mac)]);
|
||||
unless ($ent and $ent->{uuid})
|
||||
{
|
||||
$callback->({node=>{name=>[$node],warning => ["Skipping DHCPv6 setup due to missing vpd.uuid information."]}});
|
||||
$callback->({node=>[{name=>[$node],warning => ["Skipping DHCPv6 setup due to missing vpd.uuid information."]}]});
|
||||
return;
|
||||
}
|
||||
#phase 1, dynamic and static addresses, hopefully ddns-hostname works, may be tricky to do 'send hostname'
|
||||
|
Loading…
Reference in New Issue
Block a user