forked from sig_altarch/RockyRpi
7784cbbdf3
Some quality of life improvements, wifi fixes, kernel repo, and my todo list for the rest. -Skip G.
31 lines
652 B
Plaintext
31 lines
652 B
Plaintext
install
|
|
keyboard us --xlayouts=us --vckeymap=us
|
|
rootpw --lock
|
|
user --name=rocky --password=rockylinux --gecos="Rocky default user" --groups=wheel
|
|
timezone --isUtc --nontp UTC
|
|
selinux --enforcing
|
|
firewall --enabled --port=22:tcp
|
|
network --bootproto=dhcp --device=link --activate --onboot=on
|
|
services --enabled=sshd,NetworkManager,chronyd
|
|
shutdown
|
|
bootloader --location=mbr --extlinux
|
|
lang en_US.UTF-8
|
|
|
|
%post
|
|
|
|
# Enabling chronyd on boot
|
|
systemctl enable chronyd
|
|
|
|
|
|
# Remove ifcfg-link on pre generated images
|
|
rm -f /etc/sysconfig/network-scripts/ifcfg-link
|
|
|
|
# Remove machine-id on pre generated images
|
|
rm -f /etc/machine-id
|
|
touch /etc/machine-id
|
|
|
|
|
|
|
|
|
|
%end
|