问题
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:
- Created user-assets directory in /var/lib/rundeck
- Copied the images there (png and jpg)
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 TNCRestarted 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