Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #platform=x86, AMD64, or Intel EM64T
- # System authorization information
- auth --useshadow --enablemd5 --enablenis --nisdomain=btdpool.ee.mtu.edu --nisserver=10.0.0.1
- # System bootloader configuration
- bootloader --location=mbr
- # Clear the Master Boot Record
- zerombr
- # Partition clearing information
- clearpart --all --initlabel
- # Use text mode install
- text
- # Firewall configuration
- firewall --disabled
- # Run the Setup Agent on first boot
- firstboot --disable
- key fec50f27fecxxxxx
- # System keyboard
- keyboard us
- # System language
- lang en_US
- # Installation logging level
- logging --level=info
- # Use network installation
- url --url=ftp://10.0.0.1/
- # Network information
- network --bootproto=dhcp --device=eth0 --onboot=on
- # Reboot after installation
- #reboot
- #Root password
- rootpw --iscrypted $1$QxFhhq/k$FagkEOtL2Ddm8/taKyxxxx
- # SELinux configuration
- selinux --permissive
- # Do not configure the X Window System
- skipx
- # System timezone
- timezone America/New_York
- # Install OS instead of upgrade
- install
- # Disk partitioning information
- part / --bytes-per-inode=4096 --fstype="ext3" --size=1 --grow
- part swap --bytes-per-inode=4096 --fstype="swap" --recommended
- %packages
- @development-tools
- @x-software-development
- @development-libs
- @legacy-software-development
- @java
- @gnome-software-development
- @admin-tools
- @kde-software-development
- @ruby
- @text-internet
- @system-tools
- #@misc
- @java-development
- @editors
- %post
- #Change to terminal 3
- chvt3
- #Change /bin/passwd to yppasswd
- echo -e "\n\033[1mChanging passwd to yppasswd.\033[0m"
- cd /bin
- mv passwd passwd.old
- ln yppasswd passwd
- #Add necessary stuff to the end of /etc/group and /etc/passwd
- echo -e "\n\033[1mWorking some NIS magic.\033[0m"
- echo +:::::: >> /etc/passwd
- echo +::: >> /etc/group
- #Add /home to all new machines
- echo -e "\n\033[1mPermanaently adding /home drives.\033[0m"
- echo "10.0.0.18:/c/home_dir /home nfs defaults 0 0" >> /etc/fstab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement