-
-
Save shawn111/f5a185f24354f8b92daabaa626ecfed2 to your computer and use it in GitHub Desktop.
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 | |
cdrom | |
lang en_US.UTF-8 | |
keyboard us | |
unsupported_hardware | |
network --bootproto=dhcp --hostname centos-7.pelmet.loc | |
rootpw vagrant | |
firewall --disabled | |
selinux --permissive | |
timezone --utc Asia/Shanghai | |
unsupported_hardware | |
bootloader --location=mbr | |
text | |
skipx | |
zerombr | |
clearpart --all --initlabel | |
#Disk partitioning information | |
part /boot --fstype ext4 --size=2048 | |
part swap --asprimary --size=8192 | |
part / --fstype ext4 --size=1 --grow | |
auth --enableshadow --passalgo=sha512 --kickstart | |
firstboot --disabled | |
eula --agreed | |
services --enabled=NetworkManager,sshd,vmtoolsd | |
reboot | |
%packages --ignoremissing --excludedocs | |
@Base | |
@Core | |
open-vm-tools | |
%end | |
%post | |
/usr/bin/vmware-toolbox-cmd timesync disable || true | |
sleep 3 | |
/usr/bin/vmware-toolbox-cmd timesync enable || true | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment