update
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user