This commit is contained in:
qiaofeng1227 2023-07-29 16:09:11 +08:00
parent f75173c54d
commit dc4de46379

View file

@ -279,7 +279,11 @@ pkcon update -y >/dev/null 2>&1
# fi
echo "Set cockpit port to 9000 ..."
sudo sed -i 's/ListenStream=9090/ListenStream=9000/' /lib/systemd/system/cockpit.socket
# uninstall plugins
rm -rf /usr/share/cockpit/apps /usr/share/cockpit/selinux /usr/share/cockpit/kdump /usr/share/cockpit/sosreport /usr/share/cockpit/packagekit
EditMenu
sudo systemctl daemon-reload
sudo systemctl enable --now cockpit.socket
sudo systemctl restart cockpit.socket
}