create: Bump default memory from 512 to 1024MB

F15 needs more than 512 or the installer crashes, pretty sure recent windows
require at least a GB as well. Long term plan is to track a default mem value
per OS being installed.
This commit is contained in:
Cole Robinson 2011-04-28 10:39:12 -04:00
parent a505618f52
commit 6a14834c7d

View File

@ -42,6 +42,8 @@ OS_GENERIC = "generic"
# Number of seconds to wait for media detection
DETECT_TIMEOUT = 20
DEFAULT_MEM = 1024
PAGE_NAME = 0
PAGE_INSTALL = 1
PAGE_MEM = 2
@ -377,7 +379,7 @@ class vmmCreate(vmmGObjectUI):
self.window.get_widget("install-import-entry").set_text("")
# Mem / CPUs
self.window.get_widget("config-mem").set_value(512)
self.window.get_widget("config-mem").set_value(DEFAULT_MEM)
self.window.get_widget("config-cpus").set_value(1)
# Storage