Last active
August 29, 2015 14:12
-
-
Save bhnedo/4648499f5680207e86ec to your computer and use it in GitHub Desktop.
centos-kickstart-minimal
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 | |
text | |
lang en_US.UTF-8 | |
keyboard es | |
timezone Europe/Madrid | |
auth --useshadow --enablemd5 | |
selinux --disabled | |
firewall --disabled | |
services --enabled=NetworkManager,sshd | |
eula --agreed | |
ignoredisk --only-use=xvda | |
reboot | |
bootloader --location=mbr --append="console=hvc0" | |
zerombr | |
clearpart --all --initlabel --drives=xvda | |
part /boot --fstype ext3 --size=512 --ondisk=xvda | |
part pv.2 --size=1 --grow --ondisk=xvda | |
volgroup vg pv.2 | |
logvol / --fstype ext4 --name=lv1 --vgname=vg --size=1 --grow | |
logvol swap --fstype swap --name=lvswap --vgname=vg --size=256 --grow --maxsize=512 | |
rootpw changeit | |
repo --name=base --baseurl=http://mirror.cogentco.com/pub/linux/centos/7/os/x86_64/ | |
url --url="http://mirror.cogentco.com/pub/linux/centos/7/os/x86_64/" | |
%packages --nobase --ignoremissing | |
@core | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment