question

$$ANON_USER$$ avatar image
0 Votes"
$$ANON_USER$$ asked GulabPasha-2582 published

rhui-azure-rhel8 NORCH is required to upload customer RHEL8 image

Hi Azure Support,

Can some one help me with rhui-azure-rhel8.norch for RHUI RHEL8 custom image. I'm unable to download required packages without rhui-azure-rhel8.norch.

https://docs.microsoft.com/en-us/azure/virtual-machines/linux/update-infrastructure-redhat

Thanks,
Gulab

azure-virtual-machines
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you add some more information? What commands are you running? What errors are you seeing? Any work arounds you have tried thus far? What is the end goal you are looking to accomplish? Thanks :)

0 Votes 0 ·

1 Answer

GulabPasha-2582 avatar image
2 Votes"
GulabPasha-2582 answered GulabPasha-2582 published

Hi,

I have found an solution for RHEL 8 RHUI repo myself.

You can just follow the below to get RHUI for RHEL8.

1) Connect to your custom RHEL8 image.

2) Create config file with the following content.

vi rhel8.config


[rhui-microsoft-azure-rhel7]
name=Microsoft Azure RPMs for Red Hat Enterprise Linux 7
baseurl=https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel8
https://rhui-2.microsoft.com/pulp/repos/microsoft-azure-rhel8
https://rhui-3.microsoft.com/pulp/repos/microsoft-azure-rhel8
enabled=1
gpgcheck=1
gpgkey=https://rhelimage.blob.core.windows.net/repositories/RPM-GPG-KEY-microsoft-azure-release
sslverify=1

3) Save the file and run the following to install RHUI for RHEL8.

yum --config rhel8.config install 'rhui-azure-rhel8'


4) This will install RHUI for RHEL8

5) yum update

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.