[master/rhel7-branch] Don't ask to start vnc if user specifies text mode. (#959119)

Vratislav Podzimek vpodzime at redhat.com
Mon Oct 21 09:15:27 UTC 2013


On Fri, 2013-10-18 at 12:09 -0400, Samantha N. Bueno wrote:
> 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)
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list