Re: post installation script question

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

 



Depending upon what you want to do, you may be better off adding a new class 
to the stage2 installer.  You can make this class be called last, and you can
then do whatever you want.  

Some really good examples are the WelcomeWindow (textw/welcome_text.py), and
the FinishedWindow (textw/complete_text.py).

You will notice multiple locations where the order is mentioned.  When you add
a new class, you will have to touch each location just as with the others.

You may just want to create a new class within the complete_text.py file, or 
to make it really simple modify the FinishedWindow class directly, and remove 
it from the skipSteps (in kickstart.py, doReboot), which is skipped by default 
when doing a kickstart.

-brad
> 
> 
> 
> 
> RH 7.2
> 
> Is it possible to run a script that requests user inputs during the post
> installation script phase of a kickstart installation?  I'm trying to set
> some network configurations based on user inputs with a script at the
> bottom of the ks.cfg file in the "%post" section, but I never even see the
> "echo" statements that are in the %post section.
> 
> Thanks in advance,
> 
> Jason Alburger
> 609-485-7225
> CPDLC Engineer
> Joseph Sheairs Associates, Inc.
> FAA/AOS-330
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 

-- 
Brad Doctor, CISSP



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux