Commit 862c4a47 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Added documentation on auto-update

parent b69097f0
About auto update system
Auto-update system is composed of two script:
- in charge of updating/upgrading computer
- in charge of uploading update information
slapudate is called by a cron job every day at midnight.
It will connect to shacache to obtain last update information available.
This file give authorized reporitories, date of needed reboot and upgrade
and requested openSUSE version.
If update date is newer than last requested update:
1. We remove all repositories
2. We add authorized repositories
3. We check openSUSE version
- If requested version is higher than current version we do a dist-upgrade
and reboot
- Else we run upgrade
If reboot date is newer than last requested one on we reboot.
This script will use a slapos-upgrade information file
(in /etc/slapos-cache/slapos-upgrade by default),
modify it according to option, ask confirmation and upload it to shacache.
- Note: You will need your slapos.cfg for shacache upload ready in /etc/slapos-cache/
File use as reference to upgrade.
-u, --upgrade If selected will update tomorrow.
-r, --reboot If selected will reboot tomorrow.
-n, --dry-run Simulate the execution steps
-h, --help show this help message and exit
slapos-upgrade information file
suse =
slapos =
reboot = 2012-09-05
upgrade = 2012-09-05
opensuse_version = 12.1
- We want computers to update (at midnight)
python -u
- We want computers to update and reboot (at midnght)
python -u -r
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment