Customize boot procedure and presence

From SME Server
Revision as of 10:44, 14 May 2017 by RequestedDeletion (talk | contribs) (Remove category. Not part of core SME Server development. Are we now all of a sudden focussing on integrators ?? I can not recall any such agreement nor consensus.)
Jump to navigation Jump to search
Warning.png Work in Progress:
This page is a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see list of changes.


Integrators using Koozali SME Server, might search way to customize the final appearance of the server before delivering it to clients in order to enhance their global experience with the product and with the local support offered by the Integrator. Here is how we facilitate this with the SME10 release.

Anaconda and Iso

A way to customize your iso is to simply call a kickstart.

TO DOCUMENT

Grub

Default Koozali SME Server 10 is shipped with a Koozali branded grub theme. You can easily take a look at the theme in /boot/grub2/themes/koozali. Simply copy it and start modifying it to your needs. You will be able to easily change your theme and make it to the grub menu by doing the following and replacing [MY_THEME] by the folder name of your theme in /boot/grub2/themes/

db configuration setprop sysconfig GrubTheme [MY_THEME]
expand-template /etc/default/grub
grub2-mkconfig  -o /boot/grub2/grub.cfg

if you want to revert to a classic grub interface without theme

db configuration setprop sysconfig GrubTheme disabled
expand-template /etc/default/grub
grub2-mkconfig  -o /boot/grub2/grub.cfg

If you want to only get a background image with the classic grub interface

db configuration setprop sysconfig GrubTheme disabled
db configuration setprop sysconfig GrubBackground /boot/grub2/myimage.png 
expand-template /etc/default/grub
grub2-mkconfig  -o /boot/grub2/grub.cfg

If you want to revert to default setting

db configuration delprop sysconfig GrubTheme 
db configuration delprop sysconfig GrubBackground  
expand-template /etc/default/grub
grub2-mkconfig  -o /boot/grub2/grub.cfg

You might want to change the boot line from SME Server to something else.

mkdir /etc/e-smith/templates/boot/grub2/grub.cfg/
echo '{
    @lines = map { s/^title Koozali SME Server/title YOUR PERSONAL SERVER /; $_ } @lines;
    $OUT = "";
}'>/etc/e-smith/templates/boot/grub2/grub.cfg/99Filter
expand-template /boot/grub2/grub.cfg

You might want also to add this to expand during post-upgrade event at least.

Plymouth

  1. Color and image customization

TO DO

Console

  1. You might want to change default colors
  2. You might want to change the title and welcome message
  3. You might want to add support information

TO DO

Command line Interface

  1. You might want to customize the MOTD message.
  2. You might want to add a linux_logo at login

TO DO

Server-Manager

  1. Color customization
  2. Logo customization
  3. Support information

TO DO