diff options
| author | spmfox <spmfox@foxwd.com> | 2024-06-18 11:46:15 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2024-06-18 11:46:15 -0400 |
| commit | 0e00c42c3b5de17f7fe561c1c7638d9d00029134 (patch) | |
| tree | 86acc1a8f48ceb6939ca5f215cf68490633f64f2 | |
| parent | cd00a6da7a4ba2c28ebca13f162f0fc3e2972b37 (diff) | |
make sure ssh is enabled in the firewall
| -rw-r--r-- | templates/bootcblade.containerfile.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
