Repository navigation
postsync, how it is supposed to work
LINBO will handle a couple of modification itself on sync:
- setting the time on the client
- manipulating grub
- setting the correct boot-device (?)
Then it will call the postsync-procedure
LINBO will call the /srv/linbo/hwclass.cloop.postsync file, which should generally be the universal postsync script, installed by linuxmuster-client-servertools or installed when linuxmuster-client is used to download a linux client package. That can be found under usr/lib/linuxmuster-client-servertools/generic.postsync
The universal postsync script calls itself all the postsync.d-files located in /srv/linbo/linuxmuster-client/patchclass/common/postsync.d/*. Again the linuxmuster-client-servertools installed several generic ones upon using linuxmuster-client. They can be found under /usr/lib/linuxmuster-client-servertools/generic.postsync.d/*lcst*
The postsync-directory /srv/linbo/linuxmuster-client/patchclass/common/ is used to be copied to the client. The postsync and postsync.d-files will modify those if they need individual configuration.
When installed using linuxmuster-client -a auto -c hwclass the script will automatically try to replace all site-specific installations, like replaceing #SERVERIP in certain files with the IP-adress of your server.
The host-specific (or room-specific, or otherwise-specific) changes are made during LINBO-postsync, e.g. the /etc/hosts file should be fed the current hosts hostname.
There are occasions when you further develop your image and e.g. the IP-address of your server or your domainname need to appear in a configuration file on the client. You can put it there and re-create an image. Obviously, you don't need any postsync-files or postsync manipulation for that. Remember, that you cannot easily transfer this image to your best friends school....