Last active
December 16, 2015 11:59
-
-
Save mineiro/5431336 to your computer and use it in GitHub Desktop.
CentOS 6 - Sample Kickstart
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
# Install OS instead of upgrade | |
install | |
# Firewall configuration | |
firewall --enabled --ssh | |
# Keyboard layouts | |
keyboard 'us'# Use network installation | |
url --url="http://mirror.centos.org/centos/6/os/x86_64" | |
# Network information | |
network --bootproto=dhcp --device=eth0 | |
# Reboot after installation | |
reboot | |
# Root password | |
rootpw --iscrypted $1$wRM7oByu$BO7DkoYRveZNgRcSX89jt. | |
# System timezone | |
timezone America/Sao_Paulo | |
# System authorization information | |
auth --useshadow --passalgo=md5 | |
# Use text mode install | |
text | |
# System language | |
lang en_US | |
# SELinux configuration | |
selinux --enforcing | |
# Do not configure the X Window System | |
skipx | |
# System bootloader configuration | |
bootloader --location=mbr | |
# Clear the Master Boot Record | |
zerombr | |
# Partition clearing information | |
clearpart --all | |
# Auto-partition | |
autopart | |
%packages --nobase --excludedocs | |
@base | |
vim | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment