Fix next-server configuration in omshell syntax

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-02-04 17:47:21 +00:00
parent 86704ca436
commit 204f3ad7b0

View File

@ -86,7 +86,7 @@ sub addnode {
my $ent;
$ent = $nrtab->getNodeAttribs($node,['tftpserver']);
if ($ent and $ent->{tftpserver}) {
$statements = 'next-server = \"'.inet_ntoa(inet_aton($ent->{tftpserver})).'\";'.$statements;
$statements = 'next-server '.inet_ntoa(inet_aton($ent->{tftpserver})).';'.$statements;
} #else {
# $ent = $nrtab->getNodeAttribs($node,['servicenode']);
# if ($ent and $ent->{servicenode}) {