diff --git a/xCAT-server/lib/xcat/plugins/debian.pm b/xCAT-server/lib/xcat/plugins/debian.pm index d0bbd7225..cc265fabb 100644 --- a/xCAT-server/lib/xcat/plugins/debian.pm +++ b/xCAT-server/lib/xcat/plugins/debian.pm @@ -973,6 +973,7 @@ sub mknetboot my $xcatdport = "3001"; my $xcatiport = "3002"; my $nodestatus = "y"; + my $httpport="80"; my @myself = xCAT::NetworkUtils->determinehostname(); my $myname = $myself[ (scalar @myself) - 1 ]; @@ -1003,6 +1004,12 @@ sub mknetboot { $nodestatus = $ref->{value}; } + ($ref) = $sitetab->getAttribs({ key => 'httpport' }, 'value'); + if ($ref and $ref->{value}) + { + $httpport = $ref->{value}; + } + } my %donetftp = (); my %oents = %{ $ostab->getNodesAttribs(\@nodes, [qw(os arch profile provmethod)]) };