[PATCH] skip vnc prompt with text mode and kickstart

Jesse Keating jkeating at redhat.com
Fri Oct 19 17:59:43 UTC 2012


On 10/19/2012 10:56 AM, Brian C. Lane wrote:
> 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
>

ACK

-- 
Jesse Keating
Fedora -- FreedomĀ² is a feature!


More information about the anaconda-patches mailing list