Advertisement
Guest User

Custom-CentOS-5.5-iso_ks.cfg

a guest
Jan 22nd, 2011
917
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. # Source: http://centos.org/docs/5/html/Installation_Guide-en-US/s1-kickstart2-options.html
  2. # Source: http://wiki.centos.org/TipsAndTricks/KickStart
  3.  
  4. # Customized kickstart file painstakingly generated by yours truly.
  5.  
  6. install
  7. cdrom
  8. lang en_US.UTF-8
  9. keyboard us
  10. xconfig --startxonboot
  11. # Allows for configuration of all options at install time.
  12. # firstboot --reconfig
  13. # Completely automated install
  14. firstboot --disable
  15. # Allows for custom network configuration at install time.
  16. network --device eth0 --bootproto=query
  17. # Encrypted password will be written when script runs
  18. auth --enablemd5 --enableshadow
  19. rootpw
  20. # Automatically configure a user account
  21. user
  22. firewall --enabled --port=22:tcp
  23. selinux --disabled
  24. timezone --utc America/Toronto
  25. bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
  26. # The following is the partition information you requested
  27. # Note that any partitions you deleted are not expressed
  28. # here so unless you clear all partitions first, this is
  29. # not guaranteed to work
  30. clearpart --all --initlabel --drives=sda
  31. part /boot --fstype ext3 --size=100
  32. part pv.2 --size=0 --grow --ondisk=sda
  33. volgroup CentOS --pesize=32768 pv.2
  34. logvol swap --fstype swap --name=swap --vgname=CentOS --size=992
  35. logvol / --fstype ext3 --name=root --vgname=CentOS --size=7072
  36. # Use "rpm -qpR {.rpm-file}" or "rpm -qR {package-name}"
  37. # to resolve dependencies on uninstalled RPM packages.
  38. # Use "yum remove {package-name}"
  39. # to see a list of dependencies for an installed RPM.
  40. %packages
  41. @admin-tools
  42. @base
  43. @core
  44. @dhcp-server
  45. @dns-server
  46. @development-tools
  47. @gnome-desktop
  48. @graphical-internet
  49. @java
  50. @mail-server
  51. @nfs-server
  52. @nis-server
  53. @sound-and-video
  54. @system-tools
  55. @editors
  56. @openldap-server
  57. @base-x
  58. keyutils
  59. fipscheck
  60. kexec-tools
  61. trousers
  62. device-mapper-multipath
  63. system-config-bind
  64. imake
  65. gnome-pilot-conduits
  66. system-config-nfs
  67. audit
  68. gnome-nettool
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement