This section provides two example Kickstart files. The first Kickstart file shown in Example 3–2 is configured for a full distribution installation of Linux. The second Kickstart file shown in Example 3–3 is configured to install only the RPM groups required by the N1 System Manager.
install lang en_US.UTF-8 langsupport --default en_US.UTF-8 en_US.UTF-8 keyboard us mouse genericwheelps/2 --device psaux nfs --server 10.0.0.50 --dir /export/images/RHEL3U2 skipx timezone America/Denver rootpw --iscrypted $1$Rig3dbXb$OWcv00J/V2WsBGcgx0bmp1 network --device eth0 --bootproto static --ip 10.0.0.100 --netmask 255.255.255.0 --gateway 10.0.0.254 --nameserver 10.0.0.200 --hostname sun-ms network --device eth1 --bootproto static --ip 192.168.200.254 --netmask 255.255.255.0 --gateway --nameserver 10.0.0.200 --hostname sun-ms-prov network --device eth2 --bootproto static --ip 192.168.100.254 --netmask 255.255.255.0 --gateway --nameserver 10.0.0.200 --hostname sun-ms-admin firewall -disabled authconfig -enablemd5 -enableshadow bootloader -location=mbr clearpart --all -drives=hda part /boot --fstype ext3 --size=102 -ondisk=sda part / --fstype ext3 --size=1024 --grow -ondisk=sda part swap --size=4096 --grow --maxsize=1024 -ondisk=sda reboot %packages @ everything grub kernel kernel-smp %post echo "RHEL3U2 installed `/bin/date`" > /etc/motd cat << EOF > /etc/resolv.conf nameserver 10.0.0.200 search Customer.Com EOF cat << EOF > /etc/hosts 127.0.0.1 localhost.localdomain localhost 10.0.0.100 sun-ms 192.168.200.254 sun-ms-prov 192.168.100.254 sun-ms-admin EOF
install lang en_US.UTF-8 langsupport --default en_US.UTF-8 en_US.UTF-8 keyboard us mouse genericwheelps/2 --device psaux nfs --server 10.0.0.50 --dir /export/images/RHEL3U2 skipx timezone America/Denver rootpw --iscrypted $1$Rig3dbXb$OWcv00J/V2WsBGcgx0bmp1 network --device eth0 --bootproto static --ip 10.0.0.100 --netmask 255.255.255.0 --gateway 10.0.0.254 --nameserver 10.0.0.200 --hostname sun-ms network --device eth1 --bootproto static --ip 192.168.200.254 --netmask 255.255.255.0 --gateway --nameserver 10.0.0.200 --hostname sun-ms-prov network --device eth2 --bootproto static --ip 192.168.100.254 --netmask 255.255.255.0 --gateway --nameserver 10.0.0.200 --hostname sun-ms-admin firewall -disabled authconfig -enablemd5 -enableshadow bootloader -location=mbr clearpart --all -drives=hda part /boot --fstype ext3 --size=102 -ondisk=sda part / --fstype ext3 --size=1024 --grow -ondisk=sda part swap --size=4096 --grow --maxsize=1024 -ondisk=sda reboot %packages -resolvedeps @ office @ engineering-and-scientific @ editors @ system-tools @ base-x @ web-server @ development-tools @ printing @ text-internet @ legacy-network-server @ gnome-desktop @ admin-tools @ server-cfg @ mail-server @ ftp-server @ network-server @ graphical-internet @ compat-arch-support grub kernel kernel-smp %post echo "RHEL3U2 installed `/bin/date`" > /etc/motd cat << EOF > /etc/resolv.conf nameserver 10.0.0.200 search Customer.Com EOF cat << EOF > /etc/hosts 127.0.0.1 localhost.localdomain localhost 10.0.0.100 sun-ms 192.168.200.254 sun-ms-prov 192.168.100.254 sun-ms-admin EOF