projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8f3792
)
default boot target from conf/
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 4 Jan 2010 22:43:03 +0000
(22:43 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 4 Jan 2010 22:43:03 +0000
(22:43 +0000)
lib/PXElator/pxelinux.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/pxelinux.pm
b/lib/PXElator/pxelinux.pm
index
e94acfb
..
abbca9a
100644
(file)
--- a/
lib/PXElator/pxelinux.pm
+++ b/
lib/PXElator/pxelinux.pm
@@
-11,6
+11,7
@@
our $path_prefix;
our $reboot_time; # 300 s
use server;
+use client;
use File::Slurp;
use Carp qw/confess/;
@@
-48,7
+49,7
@@
sub config_for_ip {
sub config_ip_boot {
my ( $ip, $boot, $append ) = @_;
- my $default;
+ my $default
= client::conf $ip => 'default'
;
my $config;
foreach my $kernel ( glob "$boot/vmlinuz*" ) {