mgr-sync
Functions
mgr-sync is a command line tool for Uyuni. It performs the following function.
-
mgr-sync is a command line tool that synchronizes with SUSE Customer Center(SCC) and retrieves data and package repositories.
|
mgr-sync and Open Source Distributions
This tool is designed for use with a support subscription or trial account with SUSE Customer Center. It is not required for open source distributions(OpenSUSE Leap , CentOS, Ubuntu, etc.). |
mgr-sync --help
The following options are available for the mgr-sync command:
mgr-sync --help
usage: mgr-sync [-h] [--version] [-v] [-s] [-d {1,2,3}]
{list,add,refresh,delete} ...
Synchronize SUSE Manager repositories.
optional arguments:
-h, --help show this help message and exit
--version Print mgr-sync version
-v, --verbose Be verbose
-s, --store-credentials
Store credentials to the local dot file.
-d {1,2,3}, --debug {1,2,3}
Log additional debug information depending on DEBUG
Subcommands:
{list,add,refresh,delete}
list List channels, SCC organization credentials or
products
add add channels, SCC organization credentials or products
refresh Refresh product, channel and subscription
delete Delete SCC organization credentials
Log Files
Logs for the mgr-sync tool are located in:
/var/log/rhn/mgr-sync.log /var/log/rhn/rhn_web_api.log