6.2. 언더클라우드용 리포지토리 활성화
언더클라우드에 필요한 리포지토리를 활성화하고 시스템 패키지를 최신 버전으로 업데이트합니다.
절차
-
stack
사용자로 언더클라우드에 로그인합니다. 기본 리포지토리를 모두 비활성화하고 필수 Red Hat Enterprise Linux 리포지토리를 활성화합니다.
[stack@director ~]$ sudo subscription-manager repos --disable=* [stack@director ~]$ sudo subscription-manager repos --enable=rhel-8-for-x86_64-baseos-eus-rpms --enable=rhel-8-for-x86_64-appstream-eus-rpms --enable=rhel-8-for-x86_64-highavailability-eus-rpms --enable=ansible-2.9-for-rhel-8-x86_64-rpms --enable=openstack-16.1-for-rhel-8-x86_64-rpms --enable=fast-datapath-for-rhel-8-x86_64-rpms --enable=advanced-virt-for-rhel-8-x86_64-rpms
이러한 리포지토리에는 director 설치에 필요한 패키지가 들어 있습니다.
container-tools
리포지터리 모듈을 버전2.0
으로 설정합니다.[stack@director ~]$ sudo dnf module reset container-tools [stack@director ~]$ sudo dnf module enable -y container-tools:2.0
운영 체제를 동기화하여 시스템 패키지가 운영 체제 버전과 일치하는지 확인합니다.
[stack@director ~]$ sudo dnf distro-sync -y [stack@director ~]$ sudo reboot