diff --git a/xCAT-server-2.0/lib/xcat/plugins/centos.pm b/xCAT-server-2.0/lib/xcat/plugins/centos.pm index 3c5b0ecf9..7f335e86b 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/centos.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/centos.pm @@ -107,7 +107,7 @@ sub mknetboot { my $ient = $restab->getNodeAttribs($node,['servicenode']); my $ipfn = xCAT::Utils->my_ip_facing($node); if ($ient and $ient->{servicenode}) { #Servicenode attribute overrides - $imgsrv = $ient=>{servicenode}; + $imgsrv = $ient->{servicenode}; } elsif ($ipfn) { $imgsrv = $ipfn; #guessing self is second best } # resort to master value in site table only if not local to node... diff --git a/xCAT-server-2.0/lib/xcat/plugins/rhel.pm b/xCAT-server-2.0/lib/xcat/plugins/rhel.pm index 07e5c8c3a..16d6b70f3 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/rhel.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/rhel.pm @@ -100,7 +100,7 @@ sub mknetboot { my $ient = $restab->getNodeAttribs($node,['servicenode']); my $ipfn = xCAT::Utils->my_ip_facing($node); if ($ient and $ient->{servicenode}) { #Servicenode attribute overrides - $imgsrv = $ient=>{servicenode}; + $imgsrv = $ient->{servicenode}; } elsif ($ipfn) { $imgsrv = $ipfn; #guessing self is second best } # resort to master value in site table only if not local to node...