ECN Deployment and Installation Scripts
build-ks (server:/export/system/deploy/kickstart/bin/build-ks)
Create machine specific kickstart template for use by installation program.
Parameters:
*Required parameters
Files used by script:
Files generated by script:
S99ecnfirstboot (newhost:/etc/rc.d/rc[35].d/S99ecnfirstboot)
Runs the firstboot script from the master machine during the first bootup after an OS installation.
This script is created during the kickstart installation and placed in either the rc3.d or rc5.d startup directory depending on the default run level of the machine. If the kickstart template designates no X configuration, the default level is 3 (rc3.d), otherwise it is 5 (rc5.d). The script is deleted after it has run.
Files used by script:
slip:/export/system/deploy/bin/firstboot
Described below
Files generated by script:
/root/firstboot.log
Stdout and stderr from firstboot execution
/system automount point
Used by script to access firstboot script from server
register (server:/export/system/deploy/bin/register)
Registers the machine with the RedHat Network (RHN) using the ITaP key supplied for ECN supported machines. Called by the firstboot script.
firstboot (server:/export/system/deploy/bin/firstboot)
Run by a generated script during the first reboot after installation. Sets up initial configuration, registers machine with RHN and performs initial up2date.
Files used by script:
newhost:/etc/rc.d/rc5.d/S99ecnfirstboot
/etc/rc.d/rc3.d/S99ecnfirstboot on non-X machines
Calls firstboot and redirects output to log file
server:/export/system/deploy/kickstart/RPMS/<arch>/*
Local, bootstrap RPMS to be installed
server:/export/system/deploy/kickstart/distrib_files/*
Local bootstrap files to copy to new machine
server:/export/system/deploy/bin/register
Registers machine with RHN
Files generated or added by script:
/tmp filesystem defined as tmpfs filesystem and limited to ¾ of available swap space unless a /tmp partition is already defined
/export/home/* has quotas enabled and a quota file generated
Additional local automount points added to root directory
/archive
/site
/package
/usr/share/lib/aliases directory created
Packages in slip:/export/system/deploy/kickstart/RPMS/<arch>/* installed
Files in server:/export/system/deploy/kickstart/distrib_files/* copied to new machine translating '_' to ?/? and ?__? to ?_? as described in _README in the directory
Symlinks added to /usr/bin for all executable files in /usr/bin
Files modified by script:
/usr/sbin/userhelper permissions changed to 0700
/etc/fsckoptions
Added -y option to force automatic updates
/etc/ld.so.conf
Added /usr/local/lib to end of default search path
/usr/bin/telnet
Changed to symlink to inform user of unsecure protocol
/etc/sysconfig/rhn/up2date /etc/sysconfig/rhn/rhn_register
Default server changed from RedHat to ITaP server
Files deleted or moved by script:
/usr/bin/telnet
/usr/bin/rsh, rlogin, rcp
/usr/bin/chsh, chfn, finger, passwd
All above files moved to /usr/local/etc/ecn with permissions changed to 000