17 Feb
2022
17 Feb
'22
09:25
Good morning, I would like to learn about best practices on how to automate updates for Leap and trigger a reboot if required. I understand transactional update & rebootmgr should only be considered for MicroOS. In general, a one-liner like zypper up -l -y && shutdown -r 0 could be triggered by cron job (or systemd-timer). In case there are conflicts this will most likely get stuck. I feel for a server an update should be triggered manually, dependng on requirement and available time-window Another option, mainly for desktop systems, could be a similar script that runs as part of the shutdown process. Any other suggestions/comments? Thanks Axel