The kickstart documentation that covers the --nochroot option to %post
never provides an example of where to put that flag. This has caused some
customer concern. Please add an example of how the --nochroot and --
interpreter options are used.
From: Stephen Bolinger [mailto:email@example.com]
Sent: Thursday, November 23, 2000 2:00 AM
Subject: Thanks for your input!
For the last three days, I've been attempting to configure a RedHat
Kickstart installation for many servers.
I thought the "-nochroot" option was what was hindering my progress, but I
could find neither an example using it, nor any specific documentation
(including How-to's, walk throughs, etc...) detailing the option's
Tonight, I found your response to someone's question regarding the
placement of the "-nochroot" option in the ks.cfg file. This made all the
difference, now it all works. I just wanted to thank you and let you know
that your post helped more than the person who asked. Thanks!
Thanks for this suggestion. I added the following examples:
%post --interpreter /usr/bin/perl
# replace /etc/HOSTNAME
print HN "184.108.40.206 an.ip.address\n";
cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf