Re: 3rd Party Software Install - Kickstart

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

 



Arvind Navale wrote:
Hi Folks,

Can anyone please tell me if it is possible to install 3rd party software as part of kickstart post installation process. If it can be then provide me some pointers as to how I can achieve it.

Thank you,
AN.

In our post section, we mount an nfs share that has a collection of scripts. The scripts install rpm's from our yum repository or they untar tarballs for some of the large 3rd party software.


e.g.

%post
mkdir /mnt/nfs_install
mount -t nfs -o nolock,ro fileserver:/path/to/install/scripts /mnt/nfs_install

/mnt/nfs_install/setup_pkg1
/mnt/nfs_install/setup_pkg2


The setup_pkg* scripts are shell scripts that do whatever is necessary for each package ("yum -y install <package>" or "cd /opt; tar -xzf /mnt/nfs_install/package.tar.gz"

As part of the scripts, we redirect stdout/stderr to files in the chroot environment (e.g. /root/kickstart-log/setup_pk1.stderr /root/kickstart-log/setup_pkg1.stdout)

Hugh

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[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