SUMMARY: Jumpstart finish script

From: Timothy Lorenc (tim@load.com)
Date: Wed Aug 23 2000 - 12:16:36 CDT


Hello Sun Managers:

Thanks go to the two responses I received from:
Luke A. Kanies
Mike Salehi

>From the information I received from both individuals I was able to
overcome the MU1 installation problem by taking Mike's advice and
setting up a first boot script which looks for and installed the
MU1 information. Luke was also helpful with giving me a better
idea of how to organize and execute finish scripts.

Thanks.

--
Mike's is below:
     This never worked finally we decided to have a script that will run
only on first boot (looks for a file in etc) the file is actually contains
all
that was going to happen in finish script and at the end the file is
deleted, upon subsequent boots no file no execute.

-- Luke's is below: I don't know how to specifically solve the problem you are running into, but when I need to access things in a finish script, I put them in my install_config directory, which gets mounted to /tmp/install_config on the system being built. Then all of my finish scripts use that fact to install everything. For instance, here is my standard finish script for internal workstations:

for each in /tmp/install_config/install/local/*; do $each/install done

This is located at /export/jump/install_config on the server, but on the installing client is located at /tmp/install_config. Then in /export/jump/install_config/install/local I have links to all of the applications I want to install, and for each application, I have an install script which installs it.

But the main point is, the system mounts some directories for you; use that fact to your advantage, rather than trying to do it yourself.

-----Original Message----- From: owner-sun-managers@sunmanagers.ececs.uc.edu [mailto:owner-sun-managers@sunmanagers.ececs.uc.edu]On Behalf Of Timothy Lorenc Sent: Tuesday, August 22, 2000 9:34 PM To: Sun Managers - Mailing List Subject: Q: Jumpstart finish script

Hello Sun Managers:

I am running a Solaris 8 server configured as a Jumpstart/Boot server.

The initial install works beautifully, but in my finish script I try to execute the installation of MU1 using the following shell script command line options:

#============================== # INSTALL MAINTENANCE UPDATE 1 #============================== # ROOTDIR=/a MU1_SERVER=192.168.1.1 MU1_MOUNT=${MU1_SERVER}:/export/install/SPARC/MU1

/usr/bin/mkdir ${ROOTDIR}/MU1 mount -F nfs ${MU1_MOUNT} ${ROOTDIR}/MU1

cd ${ROOTDIR}/MU1 ./install_mu -R "$ROOTDIR" cd /

umount ${ROOTDIR}/MU1 /usr/bin/rmdir ${ROOTDIR}/MU1

This gives me an error concerning INST_RELEASE not found which I cannot figure out. I even used set -x in the install_mu script which did not tell me much either. Any experienced jumpstart admin out there, I would appreciate your help. Thanks.

-- Specializing in computer and network consulting...

Timothy Lorenc USmail: Lorenc Advantage, Inc. Consultant/President 6732 E. State Blvd. PMB 304 Email: tim@load.com Fort Wayne, IN 46815-7762

S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N sun-managers@ececs.uc.edu A To unsubscribe from this list please send an email message to: G majordomo@sunmanagers.ececs.uc.edu E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers original@subscription.address L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T

S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N sun-managers@ececs.uc.edu A To unsubscribe from this list please send an email message to: G majordomo@sunmanagers.ececs.uc.edu E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers original@subscription.address L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:15 CDT