How to install Linux via the network with a kickstart file
March 30, 2008 – 6:19 pmHere’s a nice tip on how to install Linux over the network (in this case a http / webserver), from a kickstart file
Put this in the /ks.cfg file on your bootable CD:
<pre>
<span style="color:Blue">title Remote Install
root (hd0,0)
kernel /vmlinuz_remote ks=http://<domain>/<path_to_file>/<kickstart_config> vnc vncconnect=<observing_ip>
initrd /initrd_remote.img
# Barebones demo remote kickstart configuration
#
install
network --bootproto dhcp
url --url http://<domain>/<path_to_file>/i386/tree
lang en_US
langsupport --default en_US en_US
keyboard us
mouse none
zerombr yes
clearpart --all
part pv.01 --size=1000 --grow
part /boot --fstype=ext3 --size=200
part swap --size=1000 --maxsize=2000
volgroup myvg pv.01
logvol / --vgname=myvg --name=rootvol --size=1000 --grow
bootloader --location mbr
timezone America/New_York
auth --enablemd5 --enableshadow
rootpw --iscrypted <encryptedpasswdstring>
selinux --permissive
reboot
firewall --enabled --http --ssh --smtp
skipx
%packages --resolvedeps
@ Base
%post
# MOTD
echo << /etc/motd
echo "Remote kickstart on $(date +'%Y-%m-%d')" << /etc/motd
echo << /etc/motd
I found the information on this website, http://www.redhat.com/magazine/024oct06/features/kickstart/
1 Trackback(s)
You must be logged in to post a comment.