Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sleep 20
- echo 209.132.183.107 subscription.rhn.redhat.com >> /etc/hosts
- echo 209.132.183.108 subscription.rhsm.redhat.com >> /etc/hosts
- echo 173.223.152.251 cdn.redhat.com >> /etc/hosts
- echo 151.101.16.133 raw.githubusercontent.com >> /etc/hosts
- echo unix1234 | passwd --stdin root
- subscription-manager register --force --username=XXXX --password='XXXX'
- subscription-manager subscribe --pool=XXX
- subscription-manager attach --auto
- subscription-manager repos --disable="*"
- subscription-manager repos --enable=rhel-7-server-rpms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement