Ignore:
Timestamp:
Apr 21, 2008, 10:50:54 PM (16 years ago)
Author:
ecprice
Message:

Support autoinstalls table for creation list.

File:
1 edited

Legend:

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

    r440 r443  
    3838from Cheetah.Template import Template
    3939import sipb_xen_database
    40 from sipb_xen_database import Machine, CDROM, ctx, connect, MachineAccess, Type
     40from sipb_xen_database import Machine, CDROM, ctx, connect, MachineAccess, Type, Autoinstall
    4141import validation
    4242from webcommon import InvalidInput, CodeError, g
     
    9999    disk = 4.0
    100100    cdrom = ''
     101    autoinstall = ''
    101102    name = ''
    102103    def __init__(self, max_memory=None, max_disk=None, **kws):
     
    222223             machines=machines,
    223224             has_vnc=has_vnc,
    224              uptimes=g.uptimes,
    225              cdroms=CDROM.select())
     225             uptimes=g.uptimes)
    226226    return d
    227227
     
    572572    checkpoint.checkpoint('Got defaults')
    573573    d = dict(user=user,
    574              cdroms=CDROM.select(),
    575574             on=status is not None,
    576575             machine=machine,
Note: See TracChangeset for help on using the changeset viewer.