This commit is contained in:
Brian Zalewski 2023-07-09 03:35:58 +00:00
parent 38ef97b8f7
commit 168088b69a

View file

@ -9443,7 +9443,7 @@ softwarePackages:
- docker-compose-plugin
openssh-server:
_service: sshd
_when: echo '! grep Microsoft /proc/version && ! test -d /Applications' | bash
_when: echo '! grep Microsoft /proc/version > /dev/null && ! test -d /Applications' | bash
apt: openssh-server
dnf: openssh-server
pacman: openssh
@ -9458,7 +9458,7 @@ softwarePackages:
fail2ban:
_service: fail2ban
# fail2ban cannot be installed on Qubes Fedora 36 without messing with the qubes-firewall since firewalld is required
_when: echo '! command -v qubes-firewall > /dev/null && ! "$(grep Microsoft /proc/version)"' | bash
_when: echo '! command -v qubes-firewall > /dev/null && ! grep Microsoft /proc/version > /dev/null' | bash
apt: fail2ban
brew: fail2ban
dnf: fail2ban