John Oliver wrote:
On Mon, May 05, 2008 at 09:08:00PM -0700, markw wrote:
John Oliver wrote:
 > I have all sorts of stuff working in %post  I just don't know how, in
%post, I could copy files off of the CD/DVD... I don't know how the
optical disc or the filesystem being installed are mounted.

Are you networked?   PXE is _WAY_ faster than installing off CD.
Easy to setup too.

Yes.  I already have my kickstart working perfectly over the network.
But I've been asked to develop a bootable DVD for environments where
there is no network, where currently field guys spend hours manually
installing the OS and customizing it.  And no, using a laptop as a repo
isn't an answer... they'd find a way to mess that up.  A DVD won't be as
fast as it could be, but it will be pretty idiot-proof... pop it in,
restart, watch for it to finish :-)

Hmm. I'd use the laptop as a PXE server, but that's me. Here's an idea, and I'm not sure if Tracy's ks had it or not, as some ks's I got from him had it. Basically you create a first boot script and have it erase itself after it's done running. Do a mount /media/dvd or whatever, copy your files, install your software... Personally I'd get better field reps that can use a laptop, sounds like your back at the cable company. :)


Mark

------------

cat > /etc/rc3.d/S99firstboot << "EOF"
#
# This script should do any post-first-boot things and then
# remove itself so it does not run on the second boot.
#

/stuff/you/want to happen only once here....

/bin/rm /etc/rc3.d/S99firstboot


EOF
/bin/chmod 755 /etc/rc3.d/S99firstboot


------------


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to