Custom Link in the Control Panel

You can create an icon linking to an arbitrary site (such as your own web interface) in the WebYaST control panel Configuration area.

To create such a link, create a file named shortcuts.yml in the top directory of any WebYaST plugin or YaST2 Webclient root directory. The shortcuts.yml should have the following structure:

main:
  icon: '/icons/custom-icon.png' 1
  url: http://example.com 2
  groups: [ System ] 3
  title: Title 4
 

1

The path to an icon file in a public directory. First, the module public directory (/srv/www/yast/vendor/plugins/MODULE/public/) is used. If the icon is not found there, the common WebYaST /srv/www/yast/public/ directory is used.

2

The URL of the link.

3

The module group the link should belong to.

4

The title displayed under the icon.


WebYaST WebYaST Vendor Guide 11