Created
November 3, 2011 18:39
-
-
Save thekad/1337377 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#platform=x86, AMD64, or Intel EM64T | |
#version=DEVEL | |
# Firewall configuration | |
firewall --disabled | |
# Install OS instead of upgrade | |
install | |
# Use NFS installation media | |
nfs --server=10.0.128.68 --dir=/media/fedora --opts="ro,async" | |
# Root password | |
rootpw --iscrypted $1$HF3TA8bg$MnZDoU7ur3iNzkuGSQbeF0 | |
# Network information | |
network --bootproto=dhcp --device=eth0 --onboot=on --hostname=$name | |
# System authorization information | |
auth --useshadow --passalgo=sha512 | |
# Use text mode install | |
cmdline | |
firstboot --disable | |
# Do not configure the X Window System | |
skipx | |
# System keyboard | |
keyboard us | |
# System language | |
lang en_US.UTF-8 | |
# SELinux configuration | |
selinux --disabled | |
# Installation logging level | |
logging --level=info | |
# Reboot after installation | |
poweroff | |
# System timezone | |
timezone --isUtc America/Los_Angeles | |
# System bootloader configuration | |
bootloader --append="quiet" --location=mbr | |
# Clear the Master Boot Record | |
zerombr | |
# Partition clearing information | |
clearpart --all --initlabel | |
# Auto-partition FTW | |
autopart | |
# List the packages, mofo | |
%packages | |
@core | |
@online-docs | |
%end | |
# Post-install script | |
%post | |
passwd -d root | |
rm -f /root/anaconda-ks.cfg /root/install.* | |
curl "http://10.0.128.68:9996/pool/unallocated-ash1/remove?object=/server/$name" | |
curl "http://10.0.128.68:9996/pool/ash1-free/insert?object=/server/$name" | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment