Cloud-init fails to subscribe a system with an activation key

Solution Verified - Updated -

Issue

  • When provisioning a VM and using an activation key in the cloud-init user data, the subscription fails.
  • The 'org' value of the activation key is a string.

Environment

  • Red Hat Enterprise Linux (RHEL) 9.5
  • cloud-init-23.4-19.el9_5.4.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content