Changeset 1096


Ignore:
Timestamp:
Oct 9, 2008, 2:23:02 AM (16 years ago)
Author:
broder
Message:

Configure the website to use the new autoinstaller code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/controls.py

    r1074 r1096  
    7979    disksize = machine.disks[0].size
    8080    memsize = machine.memory
    81     imagesize = disksize - getswap(disksize, memsize)
     81    swapsize = getswap(disksize, memsize)
     82    imagesize = disksize - swapsize
    8283    ip = machine.nics[0].ip
    83     remctl('web', 'install', machine.name, autoinstall.distribution,
    84            autoinstall.mirror, str(imagesize), ip)
     84    remctl('control', machine.name, 'install',
     85           'dist=%s' % autoinstall.distribution,
     86           'mirror=%s' % autoinstall.mirror,
     87           'imagesize=%s' % imagesize)
    8588
    8689def lvcopy(machine_orig_name, machine, rootpw):
Note: See TracChangeset for help on using the changeset viewer.