# 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
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
#!/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
# 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
terminal=vt100 network_interface=primary { protocol_ipv6=yes } security_policy=NONE system_locale=C timezone=MET timeserver=timehost.example.com
./check