The minimum memory size required by graphics installer is 1280. So
to allow user install vm in graphics, this patch increases it to
1280.
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
src/kimchi/osinfo.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/kimchi/osinfo.py b/src/kimchi/osinfo.py
index a50daae..106cc0e 100644
--- a/src/kimchi/osinfo.py
+++ b/src/kimchi/osinfo.py
@@ -42,11 +42,12 @@ template_specs = {'x86': {'old': dict(common_spec,
disk_bus='ide',
sound_model= 'ich6')},
'power': {'old': dict(common_spec,
disk_bus='scsi',
nic_model='spapr-vlan',
cdrom_bus='scsi',
- kbd_bus='usb', mouse_bus='usb'),
+ kbd_bus='usb', mouse_bus='usb',
+ memory=1280),
'modern': dict(common_spec,
disk_bus='virtio',
nic_model='virtio',
cdrom_bus='scsi',
kbd_bus='usb',
- mouse_bus='usb')}}
+ mouse_bus='usb', memory=1280)}}
modern_version_bases = {'x86': {'debian': '6.0',
'ubuntu': '7.10',
--
1.8.4.2