Advertisement
Guest User

Untitled

a guest
Nov 11th, 2009
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.95 KB | None | 0 0
  1. #platform=x86, AMD64, or Intel EM64T
  2. # System authorization information
  3. auth  --useshadow  --enablemd5  --enablenis --nisdomain=btdpool.ee.mtu.edu --nisserver=10.0.0.1
  4. # System bootloader configuration
  5. bootloader --location=mbr
  6. # Clear the Master Boot Record
  7. zerombr
  8. # Partition clearing information
  9. clearpart --all --initlabel
  10. # Use text mode install
  11. text
  12. # Firewall configuration
  13. firewall --disabled
  14. # Run the Setup Agent on first boot
  15. firstboot --disable
  16. key fec50f27fecxxxxx
  17. # System keyboard
  18. keyboard us
  19. # System language
  20. lang en_US
  21. # Installation logging level
  22. logging --level=info
  23. # Use network installation
  24. url --url=ftp://10.0.0.1/
  25. # Network information
  26. network --bootproto=dhcp --device=eth0 --onboot=on
  27. # Reboot after installation
  28. #reboot
  29. #Root password
  30. rootpw --iscrypted $1$QxFhhq/k$FagkEOtL2Ddm8/taKyxxxx
  31.  
  32. # SELinux configuration
  33. selinux --permissive
  34. # Do not configure the X Window System
  35. skipx
  36. # System timezone
  37. timezone  America/New_York
  38. # Install OS instead of upgrade
  39. install
  40. # Disk partitioning information
  41. part / --bytes-per-inode=4096 --fstype="ext3" --size=1 --grow
  42. part swap --bytes-per-inode=4096 --fstype="swap" --recommended
  43.  
  44. %packages
  45. @development-tools
  46. @x-software-development
  47. @development-libs
  48. @legacy-software-development
  49. @java
  50. @gnome-software-development
  51. @admin-tools
  52. @kde-software-development
  53. @ruby
  54. @text-internet
  55. @system-tools
  56. #@misc
  57. @java-development
  58. @editors
  59.  
  60. %post
  61.  
  62. #Change to terminal 3
  63. chvt3
  64.  
  65. #Change /bin/passwd to yppasswd
  66. echo -e "\n\033[1mChanging passwd to yppasswd.\033[0m"
  67. cd /bin
  68. mv passwd passwd.old
  69. ln yppasswd passwd
  70.  
  71. #Add necessary stuff to the end of /etc/group and /etc/passwd
  72. echo -e "\n\033[1mWorking some NIS magic.\033[0m"
  73. echo +:::::: >> /etc/passwd
  74. echo +::: >> /etc/group
  75.  
  76. #Add /home to all new machines
  77. echo -e "\n\033[1mPermanaently adding /home drives.\033[0m"
  78. echo "10.0.0.18:/c/home_dir   /home                   nfs     defaults        0 0" >> /etc/fstab
  79.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement