Ignore:
Timestamp:
Oct 6, 2008, 7:03:25 PM (16 years ago)
Author:
broder
Message:

Some fixes in the sipb-database Xen config script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/client/etc/xen/sipb-database

    r1016 r1079  
    4747
    4848if 'mirror' in locals(): #Installer
    49     disk.append('phy:/dev/xenvg/d_foobar3_hda,hdb,r')
     49    disk.append('phy:/dev/xenvg/s_install_hda,hdb,r')
    5050
    5151    kernel = '/boot/vmlinuz-2.6.24-19-xen' #From hardy
     
    5757    extra = 'ro noresume'
    5858    extra += (' ip=%s::%s:%s:%s:eth0:off'
    59          % (n.ip, config.network.gateway, config.network.netmask, machine.name))
     59         % (n.ip, config.dhcp.gateway, config.dhcp.netmask, machine.name))
    6060    extra += ' mirror=%s dist=%s' % (mirror, dist)
    6161    extra += ' imagesize=%s' % imagesize
     
    6666elif 'cdrom_image' in locals():
    6767    check(re.match('^[A-Za-z0-9][A-Za-z0-9_.-]*$', cdrom_image))
    68     disk.append('file:/srv/images/' + cdrom_image + '.iso,hdc:cdrom,r')
     68    disk.append('phy:/srv/images/' + cdrom_image + '.iso,hdc:cdrom,r')
    6969    boot = 'd'
    7070    codepath = 'hvm'
Note: See TracChangeset for help on using the changeset viewer.