--- lib/PXElator/config.pm 2009/08/04 17:29:59 141 +++ lib/PXElator/config.pm 2009/08/04 18:05:49 142 @@ -16,6 +16,14 @@ use upstream; +=head1 webconverger + +Webconverger - the opensource Web Kiosk + +L + +=cut + sub webconverger { my $ip = shift; @@ -32,10 +40,34 @@ } +=head1 debirf + +debirf is a system that will create diskless, all-in-ram images (kernel and initramfs) that boot entirely into ram and leave the user in a fully functional Debian system. + +L + +=cut + +sub debirf { + my $ip = shift; + + upstream::iso( 'http://cmrg.mayfirst.org/debirf/debirf-rescue_lenny_2.6.26-1-686.iso' ); + + pxelinux::config_for_ip( $ip, qq{ + +default linux +label linux + kernel iso/vmlinuz-2.6.26-1-686 + append initrd=iso//debirf-rescue_lenny_2.6.26-1-686.cgz + + }); +} + sub for_ip { my $ip = shift; # debian_live(); - webconverger($ip); +# webconverger($ip); + debirf($ip); # $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix"; }