Revision 467

Date:
2010/01/04 22:43:03
Author:
dpavlin
Revision Log:
default boot target from conf/
Files:

Legend:

 
Added
 
Removed
 
Modified
  • lib/PXElator/pxelinux.pm

     
    11 11 our $reboot_time; # 300 s
    12 12
    13 13 use server;
    14 use client;
    14 15 use File::Slurp;
    15 16 use Carp qw/confess/;
    16 17
     
    48 49 sub config_ip_boot {
    49 50 my ( $ip, $boot, $append ) = @_;
    50 51
    51 my $default;
    52 my $default = client::conf $ip => 'default';
    52 53 my $config;
    53 54
    54 55 foreach my $kernel ( glob "$boot/vmlinuz*" ) {