summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Janczyk2023-06-14 17:18:51 +0200
committerMichael Janczyk2023-06-14 17:18:51 +0200
commit4108c8f918560d86ce12a1df60d5bca808d81ad5 (patch)
tree1d0a58f51b0714a2367dd607e831ee4b78ff8132
parentrocky-9: update links and config. (diff)
downloadpacker-templates-4108c8f918560d86ce12a1df60d5bca808d81ad5.tar.gz
packer-templates-4108c8f918560d86ce12a1df60d5bca808d81ad5.tar.xz
packer-templates-4108c8f918560d86ce12a1df60d5bca808d81ad5.zip
http: rocky: anaconda-ks: remove unused packages.
Use Ansible for that.
-rw-r--r--http/rocky/anaconda-ks.cfg16
1 files changed, 9 insertions, 7 deletions
diff --git a/http/rocky/anaconda-ks.cfg b/http/rocky/anaconda-ks.cfg
index 8c27730..e4e3f63 100644
--- a/http/rocky/anaconda-ks.cfg
+++ b/http/rocky/anaconda-ks.cfg
@@ -26,12 +26,14 @@ reboot
%packages
-@minimal-environment
@core
+epel-release
curl
-kexec-tools
+git
openssh
-strace
+python3
+vim
+wget
%end
%pre --interpreter=/usr/bin/perl
@@ -87,11 +89,11 @@ parted -s /dev/sda -- name 2 SLX_SYS
# grub2-mkconfig -o /boot/grub2/grub.cfg
# dnf -y install epel-release
#
-dnf -y install epel-release
+#dnf -y install epel-release
dnf -y update
-dnf -y install atop git htop iftop jq mutt nmap nmap-ncat systemd-networkd tcpdump vim wget
-systemctl enable sshd
-alternatives --set python /usr/bin/python3
+#dnf -y install atop git htop iftop jq mutt nmap nmap-ncat systemd-networkd tcpdump vim wget
+#systemctl enable sshd
+#alternatives --set python /usr/bin/python3
# allow root login for ansible
sed -i 's,^[[:blank:]]*#*PermitRootLogin.*,PermitRootLogin yes,g' /etc/ssh/sshd_config