owner=user,
cdrom='gutsy-i386')
checkpoint.checkpoint('Got defaults')
+ def sortkey(machine):
+ return (machine.owner != user, machine.owner, machine.name)
+ machines = sorted(machines, key=sortkey)
d = dict(user=user,
cant_add_vm=validation.cantAddVm(user),
max_memory=max_memory,