Revision 517

Date:
2010/07/21 18:52:54
Author:
dpavlin
Revision Log:
force kvm.bin to qemu-system-i386 because memdisk doesn't work with kvm
Files:

Legend:

 
Added
 
Removed
 
Modified
  • lib/PXElator/config.pm

     
    174 174 $image = 'freedos.gz';
    175 175 upstream::mirror_file 'http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/unofficial/balder/balder10.imz' => "$dir/$image";
    176 176 warn "using $image [default FreeDOS]\n";
    177 symlink "$dir/$image", client::ip_path $ip . '/memdisk.image';
    177 178 } else {
    178 179 $image =~ s{^.+/tftp/memdisk/}{} && warn "using $image\n";
    179 180 }
    180 181
    182 if ( my $kvm = client::conf $ip => 'kvm' ) {
    183 client::conf $ip => 'kvm.bin', 'qemu-system-i386'; # FIXME kvm doesn't seem to work
    184 }
    185
    181 186 pxelinux::config_for_ip( $ip, qq{
    182 187
    183 188 default $image