diff options
author | Niels de Vos <niels.devos@wincor-nixdorf.com> | 2008-07-17 13:24:42 +0200 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-07-17 09:56:01 -0400 |
commit | 69c1bd131ba4c88e66e692eafae683871492671c (patch) | |
tree | 3a91ec8666fe943180fa389ef8d455f388607477 | |
parent | 0fec373eb55078ccb311d271084de41cd526a17f (diff) | |
download | anaconda-69c1bd131ba4c88e66e692eafae683871492671c.tar.gz anaconda-69c1bd131ba4c88e66e692eafae683871492671c.tar.xz anaconda-69c1bd131ba4c88e66e692eafae683871492671c.zip |
don't change from cmdline to textmode on lowmem systems
this one-liner should make installation in cmdline possible for systems
with little RAM. Currently if little RAM is detected, anaconda changes
to textmode. Running in cmdmode should also be possible. This patch is
completely untested for now, but please verify.
-rwxr-xr-x | anaconda | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -457,7 +457,7 @@ def checkMemory(opts): # override display mode if machine cannot nicely run X if not flags.test: - if iutil.memInstalled() < isys.MIN_GUI_RAM: + if opts.display_mode not in ('t', 'c') and iutil.memInstalled() < isys.MIN_GUI_RAM: stdoutLog.warning(_("You do not have enough RAM to use the graphical " "installer. Starting text mode.")) opts.display_mode = 't' |