Changeset 102

Show
Ignore:
Timestamp:
12/20/05 16:05:31 (3 years ago)
Author:
ludo
Message:

send the PXE mac address to the kernel (from r2961)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/server/admin/perl/lbs-lib.pl

    r89 r102  
    14611461        } 
    14621462 
     1463 
     1464 
    14631465        $one = addEmptyLine($one) ; 
    14641466 
    14651467        # adding of other linux boot options: 
    14661468        if ($eth ne "0" && $eth ne "") { 
    1467           $one =~ s/(kernel \(nd\).*revosavedir.*)/$1 revoeth$eth/; 
     1469          $one =~ s/(kernel \(nd\).* revo.*)/$1 revoeth$eth/; 
     1470        } else { 
     1471          # send the mac address on the command line to improve nic configuration 
     1472          $one =~ s/(kernel \(nd\).* revo.*)/$1 revomac=$mac/; 
    14681473        } 
    14691474        if ($kernelopts ne "") { 
    1470           $one =~ s/(kernel \(nd\).*revosavedir.*)/$1 $kernelopts/; 
     1475          $one =~ s/(kernel \(nd\).* revo.*)/$1 $kernelopts/; 
    14711476        } 
    14721477