[master] Disable the VNC question if a user specifies text mode on the cmdline. (#1169368)
Vratislav Podzimek
vpodzime at redhat.com
Wed Jan 7 15:08:01 UTC 2015
On Wed, 2015-01-07 at 09:52 -0500, Samantha N. Bueno wrote:
> Thanks to Menanteau Guy <menantea at linux.vnet.ibm.com> for the patch.
> ---
> anaconda | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/anaconda b/anaconda
> index 4ded503..3539b52 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -568,6 +568,11 @@ def setupDisplay(anaconda, options, addons=None):
> flags.usevnc = False
> flags.vncquestion = False
>
> + # disable VNC question if text mode is requested in the command line (anaconda inst.text option)
> + if anaconda.displayMode == 't':
> + stdoutLog.warning("Not asking for VNC because text mode was explicitly asked for in command line")
'on command line' sounds better to me.
I'd swear we already have a piece of code like this.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list