Public feed
#892533
Create Solaris 10 Flash Archive:
install Entire distribution + OEM
install 10_Recommended (install_cluster -nosave)
enable sar
enable system accounting
setup jobs to clean system accounting
ssh logging
Prior to flar installation:
shutdown -y -g0 -i1
# Prepare system for new identity/hardware
sys-unconfig
touch /reconfigure
#Clear Logs
find /var/log/sa /var/log/acct /var/sadm/spool/ /var/crash/ -type f -exec rm {} \;
cd /var/adm
for file in aculog exacct lastlog messages sulog utmpx vold.log wtmpx
do cp /dev/null ${file}
done
cd /var/log
for file in authlog snmpd.log syslog sysidconfig.log
do cp /dev/null ${file}
done
flarcreate -n TMRK_SOL10_`date +"%Y_%m"` -e "TMRK Solaris 10 Build `date +"%b %Y"` /TMRK_SOL10_`date +"%Y_%m"`.flar