diff --git a/anaconda b/anaconda
index 7a8a70c..4b29de4 100755
--- a/anaconda
+++ b/anaconda
@@ -824,7 +824,7 @@ if __name__ == "__main__":
# now determine if we're going to run in GUI or TUI mode
#
# if no X server, we have to use text mode
- if not (flags.test or flags.rootpath or x_already_set) and (not
iutil.isS390() and not os.access("/usr/bin/Xorg", os.X_OK)):
+ if opts.display_mode == 'g' and not (flags.test or flags.rootpath
or x_already_set) and (not iutil.isS390() and not
os.access("/usr/bin/Xorg", os.X_OK)):
stdoutLog.warning(_("Graphical installation not available... "
"Starting text mode."))
time.sleep(2)
Attachment:
anaconda_cmdline_mode.bundle
Description: Binary data