Re: Execute shell script after installation.

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

 



I haven't tried this, but I think it should work.  When anaconda runs
with a kickstart file it will prompt the user for anything which is
not specified.  You should be able to have a which only specifies
your script.  For example

    # kickstart file, but only want to run post install script
    %packages
    %pre
    %post --nochroot
    cp /file.tar /mnt/sysimage/var/tmp
    %post
    tar xf /var/tmp/file.tar


On Fri, 8 Nov 2002, PrasannaKumar wrote:

> I want to execute a shell script after the Linux installation is completed.
> I have a tar file in the Cd. I want the shell script to extract the tar 
> file in /var/tmp location after installation is over.
> 
> I have seen Anaconda installer running post installation scripts. But i 
> think post install scripts will be placed in the
> Kickstart file. I want to do the same without kickstart file.
> 
> Anaconda is creating its own kickstart file in the /root dir.  But how 
> to edit it in run time?
> 
> Pres.





[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