-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL: How should we handle RHN/RHSM registration? #10
Comments
Conversation that will provide some details:
|
What about using ansible to handle registrations after starting the machine? You have SSH key already in place so you need to have only a playbook that will do the registration and I think some playbook for this must already exist. |
Thanks for the feedback Ondrej. I agree that ansible's great and of course you can do any of this stuff with ansible .. that's a given .. but I'm not going to force that on anyone as part of the upvm package. The goal is to make this as self-contained and easily-accessible (lowest common denominator) as possible. Right this moment, for choices you could do any of the following:
So honestly I guess I opened this up as a question, but I clearly have pretty strong feelings about it ... in that I don't think there's really anything else I need to add. (I could of course add the virt-builder |
Personally, I don't ever register any of my new RHEL VMs up front, since I have them pointing to yum repos on our internal corporate network. That said, I have a script that upvm automatically drops into
/root
-- this script makes it easy for me to register in the future ... it autodetects RHEL version to use RHN classic or RHSM as needed without prompting for credentials and then usesrhn-channel
orsubscription-manager repos
commands to attach only the repos I want.I understand some people might instead want
upvm
to register their machines right off the bat, so I need to decide how best to implement that.Of course
virt-builder
has its own options for RHSM. Could use that. Could also just prompt for RHN credentials or activation-keys and optionally save to local user config file... I'll give it some thought.The text was updated successfully, but these errors were encountered: