SUMMARY: finish script to include map files

From: <ranggon_at_dacafe.com>
Date: Tue Sep 24 2002 - 20:21:33 EDT
Hi 

Thanks everyone who replies. Especially Jay Lessert who provides the 
script.

>On Sun, Sep 22, 2002 at 08:49:47PM -0800, ranggon@dacafe.com wrote:
>> Hello All,
>> 
>> I'm in a process of installing 20 solaris 8 clients and will used 
>> jumpstart server to speed up the installation. I would like to 
include
>> copy of direct and master maps of jumpstart server in the finish 
>> script.
>> Please help, how do I put the map files in the finish script so that 
the 
>> clients will bootup with the maps installed automatically.
>
>1)  The last field in your rules entries is the name of the finish
>    script.  For example, the finish script in this example is
>    "finish_js_generic":
>
>    karch sun4u && disksize c0t0d0 14000-100000 - desktop_1disk
>finish_js_generic
>
>2)  After jumpstart, all your file systems are mounted under /a.
>
>    The finish script will write your map files to /a/etc/auto_direct
>    and /a/etc/auto_master:
>
>    #!/bin/sh
>    cat > /a/etc/auto_master <<EOFILE
>    # /etc/auto_master written by jumpstart finish script
>    +auto_master
>    /home	auto_home
>    /-		auto_direct
>    EOFILE
>
>    cat > /a/etc/auto_direct <<EOFILE
>    # /etc/auto_direct written by jumpstart finish script
>    /var/mail	mailhost:/var/mail
>    /usr/local	bigserv:/usr/local
>    EOFILE
>
>-- 
>Jay Lessert                               jay_lessert@accelerant.net
>Accelerant Networks Inc.                       (voice)1.503.439.3461
>Beaverton OR, USA                                (fax)1.503.466.9472
>
---------End of Included Message----------
_____________________________________________________________
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Sep 24 19:24:50 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:55 EST