mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
site.httpport for ubuntu diskless support
This commit is contained in:
parent
5f312b4baa
commit
3402de0969
@ -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)]) };
|
||||
|
Loading…
x
Reference in New Issue
Block a user