mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
fix
This commit is contained in:
parent
2221b3065e
commit
9f02f0144f
@ -1,2 +1 @@
|
||||
1. Fix install: timeout for install Docker
|
||||
2. Fix install: export apt lock check
|
||||
1. Fix install error: cockpit port replace
|
||||
|
@ -30,6 +30,7 @@ export PATH
|
||||
# $cockpit_port
|
||||
# $install_path
|
||||
############################################################
|
||||
echo -e "\n\n-------- Cockpit --------"
|
||||
echo "cockpit_port:$cockpit_port"
|
||||
echo "install_path:$install_path"
|
||||
|
||||
@ -192,8 +193,7 @@ Set_Cockpit(){
|
||||
fi
|
||||
|
||||
echo "Change cockpit default port to $cockpit_port ..."
|
||||
sudo sed -i "s/ListenStream=9090/ListenStream=$cockpit_port/" /lib/systemd/system/cockpit.socket
|
||||
|
||||
sudo sed -i "s/ListenStream=[0-9]*/ListenStream=${cockpit_port}/" /lib/systemd/system/cockpit.socket
|
||||
|
||||
# fwupd-refresh.service may push error for Cockpit menu, so disable it
|
||||
if sudo systemctl is-active --quiet fwupd-refresh.service; then
|
||||
|
@ -115,6 +115,6 @@ else
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
echo -e "\n\n-------- Docker --------"
|
||||
Upgrade_Docker
|
||||
Start_Docker
|
@ -39,8 +39,7 @@ if [ -z "$install_path" ]; then
|
||||
install_path="/data/websoft9/source"
|
||||
fi
|
||||
|
||||
echo "$echo_prefix_plugins Starting dowload plugin and update it"
|
||||
|
||||
echo -e "\n\n-------- Plugins --------"
|
||||
echo "Your installation parameters are as follows: "
|
||||
echo "--channel: $channel"
|
||||
echo "--install_path: $install_path"
|
||||
@ -53,6 +52,8 @@ versions_url="$source_github_pages/version.json"
|
||||
file_suffix=".zip"
|
||||
plugin_path="/usr/share/cockpit"
|
||||
|
||||
echo "$echo_prefix_plugins Starting download plugin and update it"
|
||||
|
||||
python3 - << END
|
||||
import requests
|
||||
import json
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.8.26-rc6",
|
||||
"version": "0.8.26-rc7",
|
||||
"plugins": {
|
||||
"portainer": "0.0.6",
|
||||
"nginx": "0.0.5",
|
||||
|
Loading…
Reference in New Issue
Block a user