Skip to content

Instantly share code, notes, and snippets.

@goneri
Last active February 23, 2018 20:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save goneri/c17ec0f47078d0de6ba5 to your computer and use it in GitHub Desktop.
Save goneri/c17ec0f47078d0de6ba5 to your computer and use it in GitHub Desktop.
Prepare RHEL
subscription-manager register
pool_id=$(subscription-manager list --available --matches 'Instructor SKU for Red Hat Training product downloads' --pool-only|head -n1)
subscription-manager attach --pool ${pool_id}
subscription-manager repos '--disable=*' --enable=rhel-7-server-rpms --enable=rhel-7-server-optional-rpms --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-openstack-10-rpms
yum install -y tmux vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment