mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	site.httpport for ubuntu diskless support
This commit is contained in:
		@@ -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)]) };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user