[PATCH] skip vnc prompt with text mode and kickstart
Brian C. Lane
bcl at redhat.com
Fri Oct 19 17:56:38 UTC 2012
From: "Brian C. Lane" <bcl at redhat.com>
---
anaconda | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/anaconda b/anaconda
index 5a3611b..745097f 100755
--- a/anaconda
+++ b/anaconda
@@ -460,6 +460,10 @@ def setupDisplay(anaconda, opts):
if iutil.memInstalled() < isys.MIN_GUI_RAM:
flags.vncquestion = False
+ # disable VNC question if text mode is requested and this is a ks install
+ if anaconda.displayMode == 't' and flags.automatedInstall:
+ flags.vncquestion = False
+
# disable VNC question if we were explicitly asked for text in kickstart
if anaconda.ksdata.displaymode.displayMode == DISPLAY_MODE_TEXT:
flags.vncquestion = False
--
1.7.11.4
More information about the anaconda-patches
mailing list