HP BL10e Setting up a Linux PXE server and integrating clients - Page 15

Sample 2, kickstart file.

Page 15 highlights

Sample 2 This script, filename "rhl80-kickstart-install-syslinux.cfg," performs an automated installation using a kickstart file. # Install Red Hat 8.0 via kickstart file default ks prompt 1 timeout 20 display rhl80-boot.msg ... label ks kernel rhl80-vmlinuz append ks=nfs:172.48.0.1:/var/ftp/pub/kickstart/rhl80-ks.cfg initrd=rhl80initrd.img lang= devfs=nomount ramdisk_size=9216 ksdevice=eth0 ... Sample 3 This script, filename "rhl80-bootnet.img-syslinux.cfg," explains how to use a boot image to the server. # Boot to a disk image (bootnet.img) default rhl80-bootnet.img prompt 1 timeout 600 ... label rhl80-bootnet.img kernel memdisk append initrd=rhl80-bootnet.img ... Sample 4 This script, filename "localboot-syslinux.cfg," tells the server to boot locally. # Perform a local boot default localboot prompt 1 timeout 20 ... label localboot localboot 0 ... 15

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21

Sample 2
This script, filename "rhl80-kickstart-install-syslinux.cfg," performs an automated installation using a
kickstart file.
# Install Red Hat 8.0 via kickstart file
default ks
prompt 1
timeout 20
display rhl80-boot.msg
...
label ks
kernel rhl80-vmlinuz
append ks=nfs:172.48.0.1:/var/ftp/pub/kickstart/rhl80-ks.cfg initrd=rhl80-
initrd.img lang= devfs=nomount ramdisk_size=9216 ksdevice=eth0
...
Sample 3
This script, filename "rhl80-bootnet.img-syslinux.cfg," explains how to use a boot image to the server.
# Boot to a disk image (bootnet.img)
default rhl80-bootnet.img
prompt 1
timeout 600
...
label rhl80-bootnet.img
kernel memdisk
append initrd=rhl80-bootnet.img
...
Sample 4
This script, filename "localboot-syslinux.cfg," tells the server to boot locally.
# Perform a local boot
default localboot
prompt 1
timeout 20
...
label localboot
localboot 0
...
15