From 42dc68b17acfd518d3e1e0712900b0a59aef3027 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 16 Apr 2023 02:49:34 -0400 Subject: [PATCH] Disable cockpit port Signed-off-by: Tommy --- RHEL-Server-9.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index 2bda07f..da7f077 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -100,3 +100,6 @@ sudo mkdir -p /etc/systemd/system/irqbalance.service.d sudo curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/irqbalance.service.d/99-brace.conf -o /etc/systemd/system/irqbalance.service.d/99-brace.conf sudo systemctl daemon-reload sudo systemctl restart irqbalance + +sudo firewall-cmd --permanent --remove-service=cockpit +sudo firewall-cmd --reload