Ignore:
Timestamp:
Nov 15, 2008, 11:45:53 PM (16 years ago)
Author:
broder
Message:

Choose what kernel to use for the autoinstaller based on what dom0 is
running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-xen-config/invirt-database

    r1636 r1680  
    5353    disk.append('phy:/dev/xenvg/s_install_hda,hdb,r')
    5454
    55     kernel = '/boot/vmlinuz-2.6.24-19-xen' #From hardy
    56     ramdisk = '/boot/initrd.img-2.6.24-19-xen'
     55    import os
     56    release = os.uname()[2]
     57    kernel = '/boot/vmlinuz-%s' % release
     58    ramdisk = '/boot/initrd.img-%s' % release
    5759
    5860    if not machine.nics:
Note: See TracChangeset for help on using the changeset viewer.