From 0e00c42c3b5de17f7fe561c1c7638d9d00029134 Mon Sep 17 00:00:00 2001 From: spmfox Date: Tue, 18 Jun 2024 11:46:15 -0400 Subject: make sure ssh is enabled in the firewall --- templates/bootcblade.containerfile.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/bootcblade.containerfile.j2 b/templates/bootcblade.containerfile.j2 index 5de9db7..98fc3c8 100644 --- a/templates/bootcblade.containerfile.j2 +++ b/templates/bootcblade.containerfile.j2 @@ -45,7 +45,8 @@ RUN dnf -y install perl-Data-Dumper perl-Getopt-Long lzop mbuffer mhash pv && \ # Firewall RUN dnf -y install firewalld && \ systemctl enable firewalld && \ - firewall-offline-cmd --add-service cockpit + firewall-offline-cmd --add-service cockpit && \ + firewall-offline-cmd --add-service ssh # Allow sudo without password RUN echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/wheel-passwordless-sudo -- cgit