Skip to content

Instantly share code, notes, and snippets.

@andrewkroh
Last active Aug 29, 2015
Embed
What would you like to do?
How can we regularly update the system without internet connection?
https://access.redhat.com/site/solutions/29269
# register the system that is connected to RHN, directly or using a http proxy:
rhn_register --nox --proxy=1.2.3.4
# 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