sguyennet / terraform-vsphere-kubespray

Deploy a Kubernetes HA cluster on VMware vSphere
https://blog.inkubate.io/install-and-manage-automatically-a-kubernetes-cluster-on-vmware-vsphere-with-terraform-and-kubespray/
Apache License 2.0
174 stars 89 forks source link

rhn server registration #12

Closed christopherkrull closed 5 years ago

christopherkrull commented 5 years ago

Is there a way to specify an internal rhn server to register the servers against?

sguyennet commented 5 years ago

Hi,

I just updated the code to support rh_subscription_server and rh_unverified_ssl parameters. The rh_subscription_server default to subscription.rhsm.redhat.com.

I don't have an internal RHN server so please let me know if it works or if you need extra parameters.

Regards,

Simon.

christopherkrull commented 5 years ago

So I tested this, it does not work with subscription-manager. I think I need to use the rhn_register ansible module. Still plugging away.

sguyennet commented 5 years ago

Hi, I just deployed a RHEL satellite 6.5 to test against and it is working fine. This is what I specified as parameter: rh_subscription_server = "my_satellite_fqdn/rhsm" rh_unverified_ssl = "true"

sguyennet commented 5 years ago

You also have to enable the extra repository on your satellite.

christopherkrull commented 5 years ago

That will work