Usage of SMT Importer

The new importer binary (smt_import) is located at /opt/opsware/sles_import/bin.

Run the following importer binary to group all imported erratum policies into a single errata policy:

/opt/opsware/sles_import/bin/smt_import --mode=all [CHANNEL_LABEL...]

The --mode option specifies what to import. The all value specifies that you want to import packages of a channel, create a Channel Software Policy in SA, import errata, and create Software Policies for each erratum.

You can also choose:

  • Channel imports packages from a repository and then create a Software Policy.
  • Erratum to import patches and create software policies.
  • Errata to import all erratums and group them into a single software policy.

By default, smt_import uses a configuration file located at /etc/opt/opsware/sles_import/smt_import.conf.

You can also specify another location for the configuration file using the --conf=FILE option.

To get the list of platforms supported by SA, run ./smt_import --show_platforms.

To get the list of labels that are supported by default in SA and on your SMT Server, run ./smt_import --show_labels.