We have a server which have a customized Cockpit configuration running. The following Tabs are visible on the customized Cockpit page of this Server:
Configuration
System
Networking
Software Updates
Supervision
Logs
On our Foreman we have installed: tfm-rubygem-foreman_cockpit-2.0.3-3.fm1_18.el7.noarch
If I click on the Cockpit Plugin Icon i will see the following Cockpit Tabs from the Server which uses a customized Cockpit Dashboard, but it shoes me only the Default Cockpit menus.
System
Terminal
Journal
Services
Networking
Containers
Storage
Accounts
You can see that this differs. Do you know which configuration Needs to be modified to only see my customized Cockpit menus in the Cockpit plugin Icon for selection?
It was working. I was able to modify the file and i get the subtabs in the Icon Cockpit as needed.
cat foreman_cockpit.rb
require 'foreman_cockpit/engine'
# Module required to start the Rails engine
# We store all cockpit actions in a constant here to use them later
module ForemanCockpit
COCKPIT_ACTIONS = %w(pet system network updates supervision logs)
COCKPIT_SUBURL = { :pet => 'keg/index.html',
:system => 'system/index.html',
:network => 'network/index.html',
:updates => 'pet/updates.html',
:supervision => 'pet/supervision.html',
:logs => 'system/logs.html' }
end