Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Véron
slapos.package
Commits
c52e5405
Commit
c52e5405
authored
Jun 15, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated documentation
parent
025de52e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
65 deletions
+0
-65
auto-update.rst
auto-update.rst
+0
-65
No files found.
auto-update.rst
deleted
100644 → 0
View file @
025de52e
About auto update system
************************
Auto-update system is composed of two script:
- slapudate.py in charge of updating/upgrading computer
- upload-update.py in charge of uploading update information
slapupdate
----------
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.
upload-update
-------------
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/
options
+++++++
--upgrade-file=UPGRADE_FILE
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
+++++++++++++++++++++++++++++++
[repositories]
suse = http://download.opensuse.org/distribution/12.1/repo/oss/
slapos = http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_12.1
[system]
reboot = 2012-09-05
upgrade = 2012-09-05
opensuse_version = 12.1
Example
+++++++
- We want computers to update (at midnight)
python upload-update.py -u
- We want computers to update and reboot (at midnght)
python upload-update.py -u -r
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment