[PATCH] Use a better test for when we're in text mode (#484881).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If the kickstart file does not include "text", then the display mode won't
be set in the ksdata object.  However, it is set in the instdata no matter
how "text" is specified.
---
 kickstart.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 86f3e89..08f27e9 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1261,7 +1261,7 @@ def setSteps(anaconda):
     # can't stop and prompt for missing information.  Make sure we've got
     # everything that would be provided by a missing section now and error
     # out if we don't.
-    if ksdata.displaymode.displayMode == DISPLAY_MODE_TEXT:
+    if anaconda.id.displayMode == "t":
         missingSteps = [("bootloader", "Bootloader configuration"),
                         ("group-selection", "Package selection")]
         errors = []
-- 
1.6.0.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux