/[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 277 by dpavlin, Thu Aug 20 19:00:13 2009 UTC revision 293 by dpavlin, Wed Aug 26 09:06:49 2009 UTC
# Line 168  iface eth0 inet dhcp Line 168  iface eth0 inet dhcp
168    
169          };          };
170    
171            map {
172                    file::copy_once $_ => "$export/$_";
173                    file::append "$export/etc/rc.local", $_;
174            } ( '/srv/sysadmin-cookbook/recepies/amt/serial-console.sh' );
175    
176          pxelinux::config_for_ip( $ip, qq{          pxelinux::config_for_ip( $ip, qq{
177    
# Line 180  label nfsroot Line 184  label nfsroot
184  }  }
185    
186  sub for_ip {  sub for_ip {
187          my $ip = shift;          my $ip = shift || return;
188          my $deploy = client::conf( $ip => 'deploy', default => 'webconverger' );          my $deploy = client::conf( $ip => 'deploy' ) || return;
189          eval $deploy . '($ip)';          eval $deploy . '($ip)';
190  #       $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix";  #       $tftp::dir = "$server::base_dir/tftp/$pxelinux::path_prefix";
191  }  }

Legend:
Removed from v.277  
changed lines
  Added in v.293

  ViewVC Help
Powered by ViewVC 1.1.26