Files
rocky/custom/post-install.sh
T
Bart Sjerps 0a01479d24 update
2026-06-10 13:28:26 +02:00

20 lines
840 B
Bash
Executable File

#!/bin/bash
#============================================================================
# Title : post-install
# Description :
# ---------------------------------------------------------------------------
rpm -q gpg-pubkey-350d275d-6279464b &>/dev/null || rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
dnf -y install epel-release bash-completion
test $(systemd-detect-virt) == "kvm" && dnf -y install qemu-guest-agent
systemctl is-active --quiet qemu-guest-agent || systemctl start qemu-guest-agent
dnf install -y dnf-automatic chrony langpacks-en glibc-langpack-nl screen wget tar bzip2 unzip lsof \
nscd nfs-utils tmpwatch autofs git nfs-utils net-tools sysstat bash-completion rsync vim atop htop iftop iotop pv dstat nmap
systemctl is-active --quiet autofs || systemctl enable --now autofs
touch /etc/postinstall