This commit is contained in:
Darren 2023-10-09 18:08:46 +08:00 committed by GitHub
parent c868a6af74
commit 3d522b0a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
1. Fix install error: Cockpit port
1. Fix install error: Firewalld for cockpit

View File

@ -171,10 +171,12 @@ Set_Firewall(){
echo "Set firewall for Cockpit..."
if ! systemctl is-active --quiet firewalld; then
sudo systemctl start firewalld
sudo sed -i "s/port=\"[0-9]*\"/port=\"$cockpit_port\"/g" /etc/firewalld/services/cockpit.xml
sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload
sudo systemctl stop firewalld
else
sudo sed -i "s/port=\"[0-9]*\"/port=\"$cockpit_port\"/g" /etc/firewalld/services/cockpit.xml
sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload
fi

View File

@ -1,5 +1,5 @@
{
"version": "0.8.26-rc20",
"version": "0.8.26-rc21",
"plugins": {
"portainer": "0.0.6",
"nginx": "0.0.5",