Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
How can we regularly update the system without internet connection?
# register the system that is connected to RHN, directly or using a http proxy:
rhn_register --nox --proxy=
# or use
subscription-manager register --user --password --auto-allow ?
# sync updates from channels
reposync -p /somedir --repoid=rhel-x86_64-server-5 -l
createrepo /somdir
tar czf repo.tgz /somedir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment