Yes - you should be able to simply put any bash commands you want to run
after the installation is finished in the "%post" section of the kickstart
file. It's helpful to set up some logging of it so you can analyze after
the fact what it did and didn't do.
%post --interpreter /bin/bash
#Install wget, because minimal doesn't come with it
yum -y install wget
cd /root
wget <YOUR SERVER>/file.tar.gz &> kickstart.log
tar -zxvf file.tar.gz &> kickstart.log
cd file &> kickstart.log
echo "Now making...." &> kickstart.log
make all &> kickstart.log
%end
On Thu, Oct 29, 2015 at 2:28 PM, Brian I <birish2(a)gmail.com> wrote:
Hi,
Brand new to Cobbler and I have a working Centos 7 cobbler kickstart to
kickstart a minimal Centos 7. What I want to do is install a specific tar
package from source.
My plan was to:
1. Transfer the file over. (No sure how to do this, I've tried adding
fetchable files but I haven't been able to make it work).
2. Use a snippet in post install to "tar xvf -C /destination && cd
/destination && make all" or something similar to that.
Can anyone point me to an example of this, or make recommendations on
other ways to do it?
Thanks,
Brian
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler