-
Notifications
You must be signed in to change notification settings - Fork 8
Usage
davidnutter edited this page Feb 9, 2012
·
1 revision
- Push all updates from your local centos mirror to your spacewalk server
- Get a centos-announce digest posting or download an archive from the the list archive pages. If you just want to play, I provide some test files in each release.
- Uncompress the archive, if used.
- Run the script in test mode (
--test) on your file to check your configuration is correct for the errata you want for your distribution. Remember to specify-f archiveif you are using the downloaded archive format - Run the script without the
--testflag to push the errata to your spacewalk server - The script is not very chatty when pushing errata - be patient as it takes about 15 seconds for each one to upload.
- Log in to spacewalk and examine your freshly-minted errata.
This assumes customization of config file and use of a digest posting:
./centos-errata.py /tmp/centos-digest-message.txt
./centos-errata.py --i386-channel my-i386-updates \
--server spacewalk.example.com \
--i386-packagedir /centos-mirror/5.3/updates/x86_64/RPMS \
/tmp/centos-announce-digest.txt
./centos-errata.py -f archive --test /tmp/2009-May.txt