Networking & kickstart?

John Oliver <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
I'm using a script in %pre that prompts for IP, hostname, etc.  The
asnwers are dumped out as variables and used to set up the config files
in %post  All works well.

Now, it's being used to install the OS on an HP Proliant that's in a
remote datacenter via iLO, and it takes about an hour to transfer all of
the files over iLO. So I got clever, commented out "cdrom" and added url
--url http://ip.of.my.yum.server/path/to/os/  Then, at the end of %pre,
I added /sbin/ifconfig eth0 $IP netmask $NM up  However... it appears
that kickstart sees the "url" directive and therefore assumes that it
must have networking RIGHT NOW!  It tries DHCP, fails, then runs %pre.
I'm not certain if it ever raises the interface or not, but it complains
"Unable to read package metadat"

Is there a way to do what I want to do... NOT configure eth0 in
kickstart, but the way I'm doing it, raise the interface, and install
from a network source instead of the disc?

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.