Last active
January 27, 2018 13:38
-
-
Save grafuls/b8c9346c03c9c6a15b1770903199b619 to your computer and use it in GitHub Desktop.
centos minimal kickstart
This file contains hidden or 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 | |
lang en_GB.UTF-8 | |
keyboard us | |
timezone --utc GMT | |
auth --useshadow --enablemd5 | |
selinux --disabled | |
firewall --disabled | |
services --enabled=NetworkManager,sshd | |
eula --agreed | |
ignoredisk --only-use=sda | |
reboot | |
bootloader --location=mbr | |
zerombr | |
clearpart --all --initlabel | |
part swap --asprimary --fstype="swap" --size=1024 | |
part /boot --fstype xfs --size=200 | |
part pv.01 --size=1 --grow | |
volgroup rootvg01 pv.01 | |
logvol / --fstype xfs --name=lv01 --vgname=rootvg01 --size=1 --grow | |
rootpw --iscrypted $YOUR_ROOT_PASSWORD_HASH_HERE | |
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