3.14. Setting up automatic registration on Azure gold images
To make deploying RHEL virtual machines (VM) on Microsoft Azure faster and more comfortable, you can set up gold images of RHEL to be automatically registered to Red Hat Subscription Management (RHSM).
Prerequisites
RHEL gold images are available in Microsoft Azure. For instructions, see Using gold images on Azure.
注意A Microsoft Azure account can only be attached to a single Red Hat account at a time. Therefore, ensure no other users require access to the Azure account before attaching it to your Red Hat one.
Procedure
Use the gold image to create a RHEL VM in your Azure instance. For instructions, see Launching and connecting to a RHEL VM in Azure.
If your RHSM settings are correct, the VM will be automatically subscribed to RHSM.
Verification
In a RHEL VM created by using the above instructions, verify that RHSM connects to the system. On a successfully registered system, the
subscription-manager identitycommand displays the UUID of the system. For example:# subscription-manager identity system identity: fdc46662-c536-43fb-a18a-bbcb283102b7 name: 192.168.122.222 org name: 6340056 org ID: 6340056