16 |
|
|
17 |
use upstream; |
use upstream; |
18 |
|
|
19 |
|
=head1 webconverger |
20 |
|
|
21 |
|
Webconverger - the opensource Web Kiosk |
22 |
|
|
23 |
|
L<http://webconverger.org/> |
24 |
|
|
25 |
|
=cut |
26 |
|
|
27 |
sub webconverger { |
sub webconverger { |
28 |
my $ip = shift; |
my $ip = shift; |
29 |
|
|
40 |
|
|
41 |
} |
} |
42 |
|
|
43 |
|
=head1 debirf |
44 |
|
|
45 |
|
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. |
46 |
|
|
47 |
|
L<http://cmrg.fifthhorseman.net/wiki/debirf> |
48 |
|
|
49 |
|
=cut |
50 |
|
|
51 |
|
sub debirf { |
52 |
|
my $ip = shift; |
53 |
|
|
54 |
|
upstream::iso( 'http://cmrg.mayfirst.org/debirf/debirf-rescue_lenny_2.6.26-1-686.iso' ); |
55 |
|
|
56 |
|
pxelinux::config_for_ip( $ip, qq{ |
57 |
|
|
58 |
|
default linux |
59 |
|
label linux |
60 |
|
kernel iso/vmlinuz-2.6.26-1-686 |
61 |
|
append initrd=iso//debirf-rescue_lenny_2.6.26-1-686.cgz |
62 |
|
|
63 |
|
}); |
64 |
|
} |
65 |
|
|
66 |
sub for_ip { |
sub for_ip { |
67 |
my $ip = shift; |
my $ip = shift; |
68 |
# debian_live(); |
# debian_live(); |
69 |
webconverger($ip); |
# webconverger($ip); |
70 |
|
debirf($ip); |
71 |
# $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix"; |
# $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix"; |
72 |
} |
} |
73 |
|
|