/[pxelator]/lib/PXElator/config.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/config.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 549 by dpavlin, Sat Oct 9 15:28:42 2010 UTC revision 550 by dpavlin, Fri Oct 29 15:45:04 2010 UTC
# Line 24  sub available { qw/ Line 24  sub available { qw/
24          openvz printer wrt          openvz printer wrt
25          clonezilla ubuntu memdisk vyatta android          clonezilla ubuntu memdisk vyatta android
26          systemrescue          systemrescue
27            memtest
28  / };  / };
29    
30  sub debian_live {  sub debian_live {
# Line 291  label systemrescue Line 292  label systemrescue
292    
293          });          });
294  }  }
295    
296    # http://www.memtest.org/
297    sub memtest {
298            my $ip = shift;
299    
300            my $dir = "$server::base_dir/tftp/memtest";
301            mkdir $dir unless -e $dir;
302            symlink '/boot/memtest86+.bin', "$dir/memtest.bin" unless -e "$dir/memtest.bin";
303    
304            pxelinux::config_for_ip( $ip, qq{
305    
306    default memtest
307    label memtest
308            linux memtest.bin
309    
310            });
311    }
312    
313  sub in_chroot {  sub in_chroot {
314          my ( $dir, $command ) = @_;          my ( $dir, $command ) = @_;

Legend:
Removed from v.549  
changed lines
  Added in v.550

  ViewVC Help
Powered by ViewVC 1.1.26