Revision 9a6600f3 api/handlers.py

b/api/handlers.py
166 166
                'create',
167 167
                request.META['SERVER_NAME'] == 'testserver' and 'test-server' or 'snf-%s' % vm.id,
168 168
                'plain',
169
                [{"size": flavor.disk}],
169
                # disk field of Flavor object is in GB, value specified here is in MB
170
                # FIXME: Always ask for a 2GB disk, current LVM physical groups are too small:
171
                # [{"size": flavor.disk * 1000}],
172
                [{"size": 2000}],
170 173
                [{}],
171 174
                #TODO: select OS from imageId
172 175
                os='debootstrap+default',

Also available in: Unified diff