Skip to content

Commit 51989ca

Browse files
author
SD-ITLab
authored
Update sysadmin_tools.sh
1 parent 6ed934e commit 51989ca

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sysadmin_tools.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,10 @@ crowdsec_menu() {
563563
# Allow incoming connections on the new SSH port
564564
run_command ufw allow $new_port2
565565
run_command ufw allow 8081
566+
# Check if the host is a Proxmox host
567+
if dpkg -l | grep -q pve-manager; then
568+
run_command ufw allow 8006
569+
fi
566570
run_command apt-get install curl -y
567571
run_command curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | bash
568572
run_command apt-get install crowdsec -y

0 commit comments

Comments
 (0)