[master/rhel7-branch] Don't ask to start vnc if user specifies text mode. (#959119)
Samantha N. Bueno
sbueno+anaconda at redhat.com
Fri Oct 18 16:09:23 UTC 2013
Set flags.vncquestion to False if user specifies text mode, otherwise
they will be asked again later.
Resolves: rhbz#959119
---
anaconda | 3 +++
1 file changed, 3 insertions(+)
diff --git a/anaconda b/anaconda
index 899e7d0..48a9eed 100755
--- a/anaconda
+++ b/anaconda
@@ -528,6 +528,9 @@ def setupDisplay(anaconda, opts, addon_paths=None):
anaconda.displayMode = 'g'
flags.usevnc = 1
vncS.password = anaconda.ksdata.vnc.password
+ else:
+ # user has explicitly specified text mode
+ flags.vncquestion = False
log.info("Display mode = %s" % anaconda.displayMode)
check_memory(anaconda, opts)
--
1.8.3.1
More information about the anaconda-patches
mailing list