Re: [master] Turn sshd setup, kicstart execution and the rescue mode into dispatch steps.

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

 



> diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
> index 0dfecd2..8e058bb 100644
> --- a/pyanaconda/kickstart.py
> +++ b/pyanaconda/kickstart.py
> @@ -1203,6 +1203,14 @@ class AnacondaKSHandler(superclass):
>                                       "configuration file:\n\n%s") % e)
>                  sys.exit(1)
>  
> +    def setSteps(self):
> +        for n in self.skipSteps:
> +            self.anaconda.dispatch.skipStep(n)
> +        for n in self.permanentSkipSteps:
> +            self.anaconda.dispatch.skipStep(n, permanent=1)
> +        for n in self.showSteps:
> +            self.anaconda.dispatch.skipStep(n, skip = 0)
> +
>  class AnacondaPreParser(KickstartParser):
>      # A subclass of KickstartParser that only looks for %pre scripts and
>      # sets them up to be run.  All other scripts and commands are ignored.

I don't think it's a problem, but I'm curious why you have a setSteps in
the handler and then also one in kickstart.py.  What's the reasoning
behind splitting it up?

It only kind of reminds me of the bad old days where kickstart was an
install class.

- Chris
_______________________________________________
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