How do I customise Rundeck with a logo?

▼魔方 西西 提交于 2021-01-28 22:52:27

问题


I've just installed Community Rundeck 3.2.2 with RPM on a RHEL 8.1.
I've tried to customise it with my logo images with no success:

  1. Created user-assets directory in /var/lib/rundeck
  2. Copied the images there (png and jpg)
  3. Defined the settings in /etc/rundeck/rundeck-config.properties

    rundeck.gui.logo=logoTNC600x600grey.jpg
    rundeck.gui.logoSmall=logoTNC200x200white.png
    rundeck.gui.instanceNameLabelColor=#ededed
    rundeck.gui.instanceNameLabelTextColor=#000000
    rundeck.gui.title=TNC Rundeck
    rundeck.gui.staticUserResources.enable=true
    rundeck.gui.login.welcome=Welcome to TNC

  4. Restarted Rundeck service to no avail: picture not shown in web browser

What have I missed?

Regards,
Raul Costa


回答1:


You need to add your assets at /var/lib/rundeck/user-assets path (create if it doesn't exist, remember: the "rundeck" user needs to reach that path). Also, verify the files extensions.

Update: change the order of elements in your configuration. Works in the following order:

# custom logo
rundeck.gui.staticUserResources.enabled=true
rundeck.gui.logo=logo.jpg
rundeck.gui.logoSmall=logosmall.jpg
rundeck.gui.instanceNameLabelColor=#ededed
rundeck.gui.instanceNameLabelTextColor=#000000
rundeck.gui.title=TNC Rundeck


来源:https://stackoverflow.com/questions/60318571/how-do-i-customise-rundeck-with-a-logo

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!