Oracle Linux를 Satellite 6에 등록

Oracle Linux를 Satellite 6에 등록

OEL은 RHEL의 RPM 기반 다운스트림 프로젝트입니다. 그러나 ULN, 구독 관리자를 사용하는 경우 다른 부분이 누락되어 OEL 저장소에서 로드할 수 없습니다.

콘텐츠 또는 최소한 Ansible 재생을 위해 OEL을 Satellite 6에 어떻게 등록합니까?

내 상황에서는 이것이 완전히 부적합하므로 RHEL에서 다음 항목을 '훔쳐서' 설치한 다음 등록하고 ULN RHN 항목을 제거한 다음 다시 설치해야 했습니다.

이를 수행하는 더 좋은 방법이 있어야합니다 ...

# yum install -y python-{dateutil,six,inotify,setuptools}
# yum --downloaddir /tmp/ --downloaonly reinstall rhn-client-tools
# yum remove rhn-client-tools
# curl --insecure --output katello-ca-consumer-latest.noarch.rpm https://<capsule FQDN>/pub/katello-ca-consumer-<capsule FQDN>-1.0-1.noarch.rpm

비슷한 버전의 RHEL 상자에 로그온하고 다음 rpm을 다운로드합니다.

other host# yum reinstall --downloadonly --downloaddir /tmp/ \
python-syspurpose \
subscription-manager{,-rhsm,-rhsm-certificates}

OEL 서버에 있는 katello-ca-consumer 파일이 있는 위치로 해당 파일을 이동(scp)합니다.

이제 설치를 해보자

# yum localinstall ./python* ./subscr* ./katel*

호스트 등록

# subscription-manager register --org="<organization>" --activationkey=<key>

구독 관리자 제거(ULN에서는 작동하지 않음)

# yum -y remove subscription-manager

ULN 재설치

# yum localinstall -y ./rhn-client-tools-*

이 시점에서 호스트에 대해 ansible 및 명령(sh)을 실행할 수 있으며 원하는 경우 시간별 ansible 역할 애플리케이션에 호스트를 포함할 수도 있습니다.

하지만 OEL은 RPM 기반이므로 이에 대한 더 간단한 접근 방식은 없을까요? Alma와 CentOS는 구독 관리자를 실행하기만 하면 됩니다...

관련 정보