From: Jan Stodola <jstodola(a)redhat.com>
isys.total_memory() returns memory size in kB, while isys.MIN_RAM and isys.MIN_GUI_RAM are
in MB.
Resolves: rhbz#1267673
---
anaconda | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anaconda b/anaconda
index cb95b9e..6e392fd 100755
--- a/anaconda
+++ b/anaconda
@@ -460,7 +460,7 @@ def check_memory(anaconda, options, display_mode=None):
display_mode = anaconda.displayMode
reason = reason_strict
- total_ram = int(isys.total_memory())
+ total_ram = int(isys.total_memory() / 1024)
needed_ram = int(isys.MIN_RAM)
graphical_ram = int(isys.MIN_GUI_RAM)
--
To view this commit on github, visit
https://github.com/rhinstaller/anaconda/commit/ff313ddb7d6d879218762189cb...