Last active
August 3, 2018 03:09
-
-
Save seungjin/31c90538a4c21f6ddf112a0026ebb61a to your computer and use it in GitHub Desktop.
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 | |
cdrom | |
lang en_US.UTF-8 | |
keyboard us | |
network --device eth0 --onboot yes --bootproto dhcp | |
# To generate password use: openssl passwd -1 -salt abc yourpass | |
rootpw --iscrypted \$1\$abc\$eXT.vKU2cv.5/y/x/JA1H/ | |
firewall --disabled | |
authconfig --enableshadow --enablemd5 | |
selinux --disabled | |
timezone --utc US/Central | |
services --enabled=sshd | |
bootloader --location=mbr --driveorder=sda | |
zerombr | |
clearpart --all --initlabel | |
part /boot --fstype ext4 --size=200 --ondisk=sda | |
part pv.0 --size=1 --grow --ondisk=sda | |
volgroup vg.0 pv.0 | |
logvol swap --fstype swap --name=lv.swap --vgname=vg.0 --size=1024 | |
logvol / --fstype ext4 --name=lv.root --vgname=vg.0 --size=1 --grow | |
# Reboot after installation | |
reboot | |
%packages --ignoremissing | |
@core | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment