[anaconda][rhel7-branch/master][PATCH] Fix Welcome spoke not showing up during kickstart installation

Martin Kolman mkolman at redhat.com
Mon Sep 29 16:20:28 UTC 2014

The data.lang.lang variable is set to the default language value
early in Anaconda startup, so it is ever equal to "" in the Welcome
So check also the seen property of data.lang to discern the default value from
value set by the current kickstart.

Signed-off-by: Martin Kolman <mkolman at redhat.com>
 pyanaconda/ui/gui/spokes/welcome.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py
index 5ffe84c..548dd02 100644
--- a/pyanaconda/ui/gui/spokes/welcome.py
+++ b/pyanaconda/ui/gui/spokes/welcome.py
@@ -136,7 +136,7 @@ class WelcomeLanguageSpoke(LangLocaleHandler, StandaloneSpoke):
     def completed(self):
-        if flags.flags.automatedInstall:
+        if flags.flags.automatedInstall and self.data.lang.seen:
             return self.data.lang.lang and self.data.lang.lang != ""
             return False

More information about the anaconda-patches mailing list