-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Philip Brooks
authored and
Philip Brooks
committed
Jan 14, 2021
1 parent
9ffc1a2
commit 7661c9f
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
## kickstart.cfg | ||
##### | ||
lang en_US | ||
keyboard us | ||
timezone America/New_York --isUtc | ||
rootpw $1$RbhGBRTh$PpaMQpLQ3FzGYM.2tPQqC. --iscrypted #this sets the root password to changeme | ||
#platform x86, AMD64, or Intel EM64T | ||
reboot | ||
text | ||
|
||
|
||
bootloader --location=mbr --append="rhgb quiet crashkernel=auto" | ||
zerombr | ||
clearpart --all --initlabel | ||
autopart | ||
auth --passalgo=sha512 --useshadow | ||
selinux --enforcing | ||
firewall --enabled | ||
firstboot --disable | ||
|
||
|
||
%post --log=/var/log/post.log | ||
exec < /dev/tty3 > /dev/tty3 | ||
chvt 3 | ||
echo "################################" | ||
echo "# Running Post Configuration #" | ||
echo "################################" | ||
|
||
|
||
sed -i 's/\#PermitRootLogin yes/PermitRootLogin yes/g' /etc/ssh/sshd_config | ||
echo "[install epel release]" | ||
yum install -y epel-release | ||
yum clean all | ||
echo "[install primary packages]" | ||
yum install -y git wget tmux htop yum-utils | ||
|
||
# update the system | ||
echo "[yum update -y]" | ||
yum update -y | ||
yum clean all | ||
|
||
|
||
echo "[Installing Proxmox Packages Packages]" | ||
yum install nfs-utils qemu-guest-agent cloud-init -y | ||
systecmtl enable qemu-guest-agent | ||
systemctl disable firewalld | ||
|
||
%end | ||
%packages | ||
openssh-server | ||
%end | ||
|
||
### End of kickstart.cfg |