63 |
}); |
}); |
64 |
} |
} |
65 |
|
|
66 |
|
sub tinycore { |
67 |
|
my $ip = shift; |
68 |
|
upstream::iso( 'http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/tinycore_2.2.iso' ); |
69 |
|
pxelinux::config_for_ip( $ip, qq{ |
70 |
|
|
71 |
|
default linux |
72 |
|
label linux |
73 |
|
kernel iso/boot/bzImage |
74 |
|
append initrd=iso/boot/tinycore.gz |
75 |
|
|
76 |
|
}); |
77 |
|
} |
78 |
|
|
79 |
sub for_ip { |
sub for_ip { |
80 |
my $ip = shift; |
my $ip = shift; |
81 |
# debian_live($ip); |
debian_live($ip); |
82 |
webconverger($ip); |
# webconverger($ip); |
83 |
# debirf($ip); |
# debirf($ip); |
84 |
|
# tinycore($ip); |
85 |
# $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix"; |
# $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix"; |
86 |
} |
} |
87 |
|
|