Changeset 1096 for trunk/packages/sipb-xen-www/code
- Timestamp:
- Oct 9, 2008, 2:23:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/controls.py
r1074 r1096 79 79 disksize = machine.disks[0].size 80 80 memsize = machine.memory 81 imagesize = disksize - getswap(disksize, memsize) 81 swapsize = getswap(disksize, memsize) 82 imagesize = disksize - swapsize 82 83 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) 85 88 86 89 def lvcopy(machine_orig_name, machine, rootpw):
Note: See TracChangeset
for help on using the changeset viewer.