--- lib/PXElator/config.pm 2009/08/16 23:31:30 233 +++ lib/PXElator/config.pm 2009/08/16 23:32:21 234 @@ -21,16 +21,16 @@ debian-live-501-i386-standard.squashfs }); + my $hostname = client::conf( $ip => 'hostname' ) || 'debian-live'; + pxelinux::config_for_ip( $ip, qq{ default debian_live label debian_live - kernel iso/live/vmlinuz-2.6.30-backports.1-486 - append initrd=iso/live/initrd.img-2.6.30-backports.1-486 fetch=http://${server::ip}:7777/webconverger/iso/live/filesystem.squashfs boot=live quiet nosudo splash video=vesa:ywrap,mtrr vga=788 nopersistent username=webc hostname=$hostname union=aufs homepage=$homepage locale=hr + kernel vmlinuz1 + append initrd=initrd1.img fetch=http://${server::ip}:7777/debian-live/debian-live-501-i386-standard.squashfs boot=live nopersistent hostname=$hostname union=aufs + }); - $dhcpd::file = "pxelinux.0"; - $pxelinux::path_prefix = 'live-helper/tftpboot/'; - $pxelinux::config_file = 'pxelinux.cfg/default'; } use upstream;