[PATCH] Ask about VNC also in connecting state, not only connected (#952801)
Radek Vykydal
rvykydal at redhat.com
Thu Apr 25 07:25:30 UTC 2013
---
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
--
1.7.11.7
More information about the anaconda-patches
mailing list