Configuring jumpstart

Create /export/install/jumpstart/5.8 all files from /export/install/os/5.8_<version>Solaris_8/Misc/jumpstart_sample there. Add something like share -F nfs -o ro,anon=0 /export/install/jumpstart" to /etc/dfs/dfstab and run shareall.

Rules

The rules file is a lookup table that define matches between system attributes and jumpstart profiles Many different probe keywoards can be used (memsize, arch, hostname etc) and if thats not enough custom keywoards can be created First we should edit the rules file. In the file you will see a lot of examples and as an example we shall just have
# Normal workstation with a 2GB harddrive
disksize rootdisk 1900-3900 begin 2GB-profile finish

# Normal workstation with a 1GB harddrive
disksize rootdisk 900-1900 begin 1GB-profile finish

Begin script

The begin script is a user defined Bourne shell script that performs tasks before the Solaris software is installed on a system. You can also use it to create derived profiles (Look at the Advanced Solaris Installation handbook at docs.sun.com)

Everything customize needs in the begin script is to modify patch_finish script on the install media to be able to backout patches. Instead of doing it every time we install the Solaris media (it's easy to forget) we have a script that does the modifications to /tmp/patch_finish.sh and then do a loopback mount.
Create /export/install/jumpstart/5.8/scripts and copy modify_patch_finish there (you can find it in "contrib/jumpstart/")

So our begin file just looks like:

. ${SI_CONFIG_DIR}/scripts/modify_patch_finish

Profile

Here is the 1GB-profile file that we defined in the rules file. We have a small partition on s7 that we can use to place Disksuites metadb is we would like to mirror the rootdisk. Customizes disksuite script needs it to be on s7 today (but that is going to be fixed).
#!/bin/sh
#
#
install_type    initial_install
system_type     standalone
partitioning    explicit
filesys         rootdisk.s0 free / logging
filesys         rootdisk.s1 128 swap
filesys         rootdisk.s7 5      unnamed
cluster         SUNWCall
# Thai partial locale pkgs
cluster         SUNWCthai       delete
# Product registry, viewer, and Web Start support
package         SUNWwsr         delete
package         SUNWsregu       delete
# UUCP
cluster         SUNWCnet        delete
# Kodac Color management server.
cluster         SUNWCkcms delete
# Chinese and Korean fonts
package         SUNWkiu8        delete
package         SUNWkiu8x       delete
package         SUNWhiu8x       delete
package         SUNWhiu8        delete
locale en_US

Finish script

This section is NOT finished yet!

Should do: Set defaultrouter (if needed) Change rootpassword Enable customize.
# Sets defaultrouter

. ${SI_CONFIG_DIR}/set_defaultrouter

# Set rootpassword
 
. ${SI_CONFIG_DIR}/root_passwd

# Enables customize

. ${SI_CONFIG_DIR}/customize
#
# Disables the powermanagement question.
#

rm -f ${ROOT}/etc/.UNCONFIGURED
rm -f ${ROOT}/etc/.PM_RECONFIGURE

sysidcfg

System identification configurationfile, contains system configuration information. It's the easiest way to prevent the installation program from asking questions. More information in the manpage sysidcfg(4)
terminal=vt100
network_interface=primary { protocol_ipv6=yes }
security_policy=NONE
system_locale=C
timezone=MET
timeserver=timehost.example.com

Testing the setup

Run
./check