projects
/
invirt/packages/invirt-xen-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix autoinstall logic when configured memory is lower than needed
[invirt/packages/invirt-xen-config.git]
/
invirt-database
diff --git
a/invirt-database
b/invirt-database
index
5fb7378
..
11fefb5
100644
(file)
--- a/
invirt-database
+++ b/
invirt-database
@@
-100,7
+100,8
@@
if 'installer_options' in locals(): #Installer
root = '/dev/hdb1'
codepath = None
root = '/dev/hdb1'
codepath = None
- memory = max(memory, 512)
+ memory = max(memory, 768)
+ maxmem = memory
elif cdrom is not None:
disk.append('phy:/dev/xenvg/image_' + cdrom.cdrom_id + ',hdc:cdrom,r')
boot = 'd'
elif cdrom is not None:
disk.append('phy:/dev/xenvg/image_' + cdrom.cdrom_id + ',hdc:cdrom,r')
boot = 'd'