일반적으로 Subscription 을 등록하면 관련 레포지토리가 자동으로 활성화 된다.
하지만 수동으로 활성화/비활성화 시키고 싶거나 추가 레포지토리를 사용하고 싶은경우는 아래 명령어를 이용하도록 한다.
SUSEConnect –list-extensions
suse:~ # SUSEConnect --list-extensions AVAILABLE EXTENSIONS AND MODULES Basesystem Module 15 SP2 x86_64 (Activated) Deactivate with: SUSEConnect -d -p sle-module-basesystem/15.2/x86_64 Containers Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-containers/15.2/x86_64 SUSE CaaS Platform 4.5 x86_64 Activate with: SUSEConnect -p caasp/4.5/x86_64 -r ADDITIONAL REGCODE Desktop Applications Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-desktop-applications/15.2/x86_64 Development Tools Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-development-tools/15.2/x86_64 NVIDIA Compute Module 15 x86_64 Activate with: SUSEConnect -p sle-module-NVIDIA-compute/15/x86_64 SUSE Linux Enterprise Workstation Extension 15 SP2 x86_64 Activate with: SUSEConnect -p sle-we/15.2/x86_64 -r ADDITIONAL REGCODE Python 2 Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-python2/15.2/x86_64 SUSE Cloud Application Platform Tools Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-cap-tools/15.2/x86_64 SUSE Linux Enterprise Live Patching 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-live-patching/15.2/x86_64 -r ADDITIONAL REGCODE SUSE Package Hub 15 SP2 x86_64 Activate with: SUSEConnect -p PackageHub/15.2/x86_64 Server Applications Module 15 SP2 x86_64 (Activated) Deactivate with: SUSEConnect -d -p sle-module-server-applications/15.2/x86_64 Legacy Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-legacy/15.2/x86_64 Public Cloud Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-public-cloud/15.2/x86_64 SUSE Enterprise Storage 7 x86_64 Activate with: SUSEConnect -p ses/7/x86_64 -r ADDITIONAL REGCODE SUSE Linux Enterprise High Availability Extension 15 SP2 x86_64 Activate with: SUSEConnect -p sle-ha/15.2/x86_64 -r ADDITIONAL REGCODE Web and Scripting Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-web-scripting/15.2/x86_64 Transactional Server Module 15 SP2 x86_64 Activate with: SUSEConnect -p sle-module-transactional-server/15.2/x86_64 REMARKS (Not available) The module/extension is not enabled on your RMT/SMT (Activated) The module/extension is activated on your system MORE INFORMATION You can find more information about available modules here: https://www.suse.com/documentation/sles-15/singlehtml/art_modules/art_modules.html
SUSEConnect –list-extensions
명령어를 이용하면 현재 등록된 Subscription을 통해 이용할 수 있는 제폼/레포지토리 목록이 나타난다.
이와 함께 해당 레포지토리를 활성화/비활성화 할수 있는 명령어도 같이 안내되므로 아래처럼 사용하면 된다.
suse:~ # SUSEConnect -d -p sle-module-basesystem/15.2/x86_64 Deregistering system from SUSE Customer Center Deactivating sle-module-basesystem 15.2 x86_64 ... Error: Registration server returned 'Cannot deactivate the product "Basesystem Module". Other activated products depend upon it.' (422) suse:~ # SUSEConnect -p sle-module-basesystem/15.2/x86_64 Registering system to SUSE Customer Center Updating system details on https://scc.suse.com ... Activating sle-module-basesystem 15.2 x86_64 ... -> Adding service to system ... -> Installing release package ... Successfully registered system