[PATCH 3/4] Don't wait on the filtertype screen on kickstart installs.

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

 



Since ignoredisk is an optional command and leaving it out of a kickstart
file means you don't want to ignore anything, there's no reason to stop
on that screen and wait for input if ignoredisk was not specified.  However,
if this is an interactive kickstart install we do still need to stop and
ask.
---
 kickstart.py |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 6c3e39c..e3db519 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -329,7 +329,7 @@ class Firstboot(commands.firstboot.FC3_Firstboot):
 
 class IgnoreDisk(commands.ignoredisk.F8_IgnoreDisk):
     def parse(self, args):
-        retval = commands.clearpart.F8_IgnoreDisk.parse(self, args)
+        retval = commands.ignoredisk.F8_IgnoreDisk.parse(self, args)
 
         # See comment in ClearPart.parse
         drives = []
@@ -1393,12 +1393,18 @@ def setSteps(anaconda):
     # Storage is initialized for us right when kickstart processing starts.
     dispatch.skipStep("storageinit")
 
-    # Don't show confirmation screens on non-interactive installs.
     if not interactive:
+        # Don't show confirmation screens on non-interactive installs.
         dispatch.skipStep("confirminstall")
         dispatch.skipStep("confirmupgrade")
         dispatch.skipStep("welcome")
 
+        # Since ignoredisk is optional and not specifying it means you want to
+        # consider all possible disks, we should not stop on the filter steps
+        # unless it's an interactive install.
+        dispatch.skipStep("filter")
+        dispatch.skipStep("filtertype")
+
     # Make sure to automatically reboot even in interactive if told to.
     if interactive and ksdata.reboot.action in [KS_REBOOT, KS_SHUTDOWN]:
         dispatch.skipStep("complete")
-- 
1.6.5.1

_______________________________________________
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