[PATCH] Ask about VNC also in connecting state, not only connected (#952801)
Vratislav Podzimek
vpodzime at redhat.com
Thu Apr 25 10:38:32 UTC 2013
On Thu, 2013-04-25 at 09:25 +0200, Radek Vykydal wrote:
> ---
> anaconda | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/anaconda b/anaconda
> index 676a8b2..6076262 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -419,7 +419,7 @@ def setupDisplay(anaconda, opts, addon_paths=None):
> from pyanaconda.ui.tui.simpleline import App
> from pyanaconda.ui.tui.spokes.askvnc import AskVNCSpoke
> from pykickstart.constants import DISPLAY_MODE_TEXT
> - from pyanaconda.nm import nm_is_connected
> + from pyanaconda.nm import nm_is_connected, nm_is_connecting
> from blivet import arch
> import blivet.util
>
> @@ -479,7 +479,7 @@ def setupDisplay(anaconda, opts, addon_paths=None):
> flags.vncquestion = False
>
> # disable VNC question if we don't have network
> - if not nm_is_connected():
> + if not nm_is_connected() and not nm_is_connecting():
> stdoutLog.warning("Not asking for VNC because we don't have a network")
> flags.vncquestion = False
>
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list