3.27. Hammer 勘误
操作勘误
Usage: hammer erratum [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: info Show an erratum list, index List errata Options: -h, --help Print help
3.27.1. Hammer 勘误信息
显示勘误
Usage: hammer erratum info [OPTIONS] Options: --fields LIST Show specified fields or predefined field sets only. (See below) --id VALUE An erratum identifier --name VALUE Name to search by --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier -h, --help Print help Predefined field sets: ------------------------|-----|-------- FIELDS | ALL | DEFAULT ------------------------|-----|-------- Title | x | x Version | x | x Description | x | x Status | x | x Id | x | x Errata id | x | x Reboot suggested | x | x Updated | x | x Issued | x | x Release | x | x Solution | x | x Packages | x | x Module streams/name | x | x Module streams/stream | x | x Module streams/packages | x | x ------------------------|-----|-------- Option details: Here you can find option types and the value an option can accept: BOOLEAN One of true/false, yes/no, 1/0 DATETIME Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format ENUM Possible values are described in the option's description FILE Path to a file KEY_VALUE_LIST Comma-separated list of key=value. JSON is acceptable and preferred way for such parameters LIST Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for such parameters MULTIENUM Any combination of possible values described in the option's description NUMBER Numeric value. Integer SCHEMA Comma separated list of values defined by a schema. JSON is acceptable and preferred way for such parameters VALUE Value described in the option's description. Mostly simple string
3.27.2. Hammer 勘误列表
列出勘误
Usage: hammer erratum <list|index> [OPTIONS] Options: --available-for VALUE Return errata that can be added to the specified object. The values 'content_view_version' and 'content_view_filter are supported. --content-view VALUE Content view name to search by --content-view-filter VALUE Name to search by --content-view-filter-id NUMBER Content View Filter identifier --content-view-id NUMBER Content view numeric identifier --content-view-version VALUE Content view version number --content-view-version-id NUMBER Content View Version identifier --cve VALUE CVE identifier --errata-restrict-applicable BOOLEAN Return errata that are applicable to one or more hosts (defaults to true if host_id is specified) --errata-restrict-installable BOOLEAN Return errata that are upgradable on one or more hosts --fields LIST Show specified fields or predefined field sets only. (See below) --full-result BOOLEAN Whether or not to show all results --host VALUE Host name --host-id NUMBER Host id to list applicable errata for --lifecycle-environment-id NUMBER Environment identifier --order VALUE Sort field and order, eg. 'id DESC' --organization VALUE Organization name to search by --organization-id NUMBER Organization identifier --organization-label VALUE Organization label to search by --organization-title VALUE Organization title --page NUMBER Page number, starting at 1 --per-page NUMBER Number of results per page to return --product VALUE Product name to search by --product-id NUMBER Product numeric identifier --repository VALUE Repository name to search by --repository-id NUMBER Repository identifier --search VALUE Search string -h, --help Print help Predefined field sets: ----------|-----|-------- FIELDS | ALL | DEFAULT ----------|-----|-------- Id | x | x Errata id | x | x Type | x | x Title | x | x Issued | x | x Updated | x | x ----------|-----|-------- Option details: Here you can find option types and the value an option can accept: BOOLEAN One of true/false, yes/no, 1/0 DATETIME Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format ENUM Possible values are described in the option's description FILE Path to a file KEY_VALUE_LIST Comma-separated list of key=value. JSON is acceptable and preferred way for such parameters LIST Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for such parameters MULTIENUM Any combination of possible values described in the option's description NUMBER Numeric value. Integer SCHEMA Comma separated list of values defined by a schema. JSON is acceptable and preferred way for such parameters VALUE Value described in the option's description. Mostly simple string Search / Order fields: bug string cve string errata_id string errata_type string id string issued date modular Values: true, false package string package_name string reboot_suggested boolean repository string severity string synopsis string title string type string updated date