mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
Merge branch 'main' of https://github.com/Websoft9/websoft9 into main
This commit is contained in:
commit
7977d1234b
@ -1 +1 @@
|
|||||||
1. Fix install error: Cockpit port
|
1. Fix install error: Firewalld for cockpit
|
||||||
|
@ -171,10 +171,12 @@ Set_Firewall(){
|
|||||||
echo "Set firewall for Cockpit..."
|
echo "Set firewall for Cockpit..."
|
||||||
if ! systemctl is-active --quiet firewalld; then
|
if ! systemctl is-active --quiet firewalld; then
|
||||||
sudo systemctl start firewalld
|
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 --permanent --zone=public --add-service=cockpit
|
||||||
sudo firewall-cmd --reload
|
sudo firewall-cmd --reload
|
||||||
sudo systemctl stop firewalld
|
sudo systemctl stop firewalld
|
||||||
else
|
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 --permanent --zone=public --add-service=cockpit
|
||||||
sudo firewall-cmd --reload
|
sudo firewall-cmd --reload
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.8.26-rc20",
|
"version": "0.8.26-rc21",
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"portainer": "0.0.6",
|
"portainer": "0.0.6",
|
||||||
"nginx": "0.0.5",
|
"nginx": "0.0.5",
|
||||||
|
Loading…
Reference in New Issue
Block a user