mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
override menu
This commit is contained in:
parent
4fc0732fc7
commit
7bf0e2e1ad
14 changed files with 56 additions and 7 deletions
4
cockpit/menu_override/apps.override.json
Normal file
4
cockpit/menu_override/apps.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/kdump.override.json
Normal file
4
cockpit/menu_override/kdump.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/machines.override.json
Normal file
4
cockpit/menu_override/machines.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/packagekit.override.json
Normal file
4
cockpit/menu_override/packagekit.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/playground.override.json
Normal file
4
cockpit/menu_override/playground.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/selinux.override.json
Normal file
4
cockpit/menu_override/selinux.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/session-recording.override.json
Normal file
4
cockpit/menu_override/session-recording.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/subscriptions.override.json
Normal file
4
cockpit/menu_override/subscriptions.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
4
cockpit/menu_override/updates.override.json
Normal file
4
cockpit/menu_override/updates.override.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"menu": null,
|
||||
"tools": null
|
||||
}
|
|
@ -17,7 +17,7 @@ Create more, better and more realistic software solutions for the world
|
|||
|
||||
## Candidate
|
||||
|
||||
- [mayo7e](https://github.com/mayo7e): [#296](https://github.com/Websoft9/websoft9/issues/296)
|
||||
- [mayo7e](https://github.com/mayo7e): [#296](https://github.com/Websoft9/websoft9/issues/296) mayowa.wh@gmail.com
|
||||
|
||||
## Honorary Alumni
|
||||
|
||||
|
|
|
@ -16,3 +16,7 @@ usermod -aG sudo username
|
|||
#### Can not login when I reinstall my Instance?
|
||||
|
||||
Need to clear all cookie at you browser
|
||||
|
||||
#### How to modify Websoft9 port?
|
||||
|
||||
Access web console > settings or use cli to modify port
|
|
@ -54,10 +54,9 @@ done
|
|||
echo_prefix_cockpit=$'\n[Cockpit] - '
|
||||
# package cockpit depends_on [cockpit-bridge,cockpit-ws,cockpit-system], but update cockpit the depends don't update
|
||||
cockpit_packages="cockpit cockpit-ws cockpit-bridge cockpit-system cockpit-pcp cockpit-storaged cockpit-networkmanager cockpit-session-recording cockpit-doc cockpit-packagekit cockpit-sosreport"
|
||||
cockpit_plugin_delete="apps,machines,selinux,subscriptions,kdump,updates,playground,packagekit,session-recording"
|
||||
menu_overrides_github_page_url="https://websoft9.github.io/websoft9/cockpit/menu_override"
|
||||
cockpit_config_github_page_url="https://websoft9.github.io/websoft9/cockpit/cockpit.conf"
|
||||
cockpit_menu_overrides=(networkmanager.override.json shell.override.json storaged.override.json systemd.override.json users.override.json)
|
||||
cockpit_menu_overrides=(networkmanager.override.json shell.override.json storaged.override.json systemd.override.json users.override.json apps.override.json machines.override.json selinux.override.json subscriptions.override.json kdump.override.json updated.override.json playground.override.json packagekit.override.json session-recording.override.json)
|
||||
# export OS release environments
|
||||
if [ -f /etc/os-release ]; then
|
||||
. /etc/os-release
|
||||
|
@ -238,8 +237,6 @@ Edit_Menu(){
|
|||
echo "Download override files from URL..."
|
||||
Download_Menu_Override
|
||||
fi
|
||||
|
||||
echo "$cockpit_plugin_delete" | tr ',' '\n' | sudo xargs -I {} rm -rf "/usr/share/cockpit/{}"
|
||||
}
|
||||
|
||||
Upgrade_Cockpit(){
|
||||
|
|
11
systemd/script/crontab.sh
Normal file
11
systemd/script/crontab.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
||||
|
||||
# monitor config.ini, make sure port is the same with cockpit.socket
|
||||
|
||||
cockpit_port=from config.ini
|
||||
echo "Change cockpit default port to $cockpit_port ..."
|
||||
sudo sed -i "s/ListenStream=9090/ListenStream=$cockpit_port/" /lib/systemd/system/cockpit.socket
|
||||
|
||||
|
||||
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
/bin/bash send_credentials.sh
|
||||
/bin/bash set_hosts.sh
|
||||
/bin/bash crontab.sh
|
Loading…
Reference in a new issue