How to identify SCC directories with access tokens
This document (7017715) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
Subscription Management Tool 11
Subscription Management Tool 12
Situation
REMEMBER: The only supported solutions to fetch packages are:
- direct registration
- SMT
- SUSE Manager
Resolution
- sle12smt:~ # smt-scc-sync --todir /tmp/export/
Write to directory: /tmp/export/
Downloading Product and Repository information
Download (100%)
Downloading Subscription information
Download (100%)
Downloading Order information
Download (100%)
Flagging repositories which can be mirrored
Download (100%) - sle12smt:~ # cat /tmp/export/organizations_repositories.json | python -m json.tool| grep -A 1 SLES12-SP1-Updates
"description": "SLES12-SP1-Updates for sle-12-x86_64",
"distro_target": "sle-12-x86_64",
--
"name": "SLES12-SP1-Updates",
"url": "https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update/?<$TOKENSTRING>"
Also keep in mind, the tokens are different for each repository.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7017715
- Creation Date: 13-Jun-2016
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com