Created
November 22, 2014 00:04
-
-
Save netmarkjp/ee27851ae671cbed32c6 to your computer and use it in GitHub Desktop.
kickstart ks.cfg for centos7
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
auth --enableshadow --passalgo=sha512 | |
cdrom | |
firstboot --disable | |
ignoredisk --only-use=sda | |
keyboard --vckeymap=jp106 --xlayouts='jp' | |
lang ja_JP.UTF-8 | |
network --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate --hostname=localhost | |
network --bootproto=dhcp --device=enp0s8 --ipv6=auto --activate | |
rootpw p@ssw0rd | |
timezone Asia/Tokyo --isUtc | |
selinux --disabled | |
reboot --eject | |
#text | |
#skipx | |
bootloader --location=mbr --boot-drive=sda | |
clearpart --all --initlabel | |
part pv.10 --fstype="lvmpv" --ondisk=sda --size=6667 | |
part /boot --fstype="xfs" --ondisk=sda --size=500 | |
volgroup centos --pesize=4096 pv.10 | |
logvol swap --fstype="swap" --size=819 --name=swap --vgname=centos | |
logvol / --fstype="xfs" --size=5844 --name=root --vgname=centos | |
%packages | |
@core | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment