summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels de Vos <niels.devos@wincor-nixdorf.com>2008-07-17 13:24:42 +0200
committerJeremy Katz <katzj@redhat.com>2008-07-17 09:56:01 -0400
commit69c1bd131ba4c88e66e692eafae683871492671c (patch)
tree3a91ec8666fe943180fa389ef8d455f388607477
parent0fec373eb55078ccb311d271084de41cd526a17f (diff)
downloadanaconda-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-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index 2ad0d5bbf..6c005be5d 100755
--- a/anaconda
+++ b/anaconda
@@ -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'