Bug #19999
Support for associating multiple provisioning templates at once
Difficulty:
Triaged:
Yes
Description
hammer os add-config-template allows to add templates only one by one. Allowing to set more templates at once would make it easier to use the command.
Current usage:
hammer os add-config-template -h Usage: hammer os add-config-template [OPTIONS] Options: --config-template CONFIG_TEMPLATE_NAME Name to search by --config-template-id CONFIG_TEMPLATE_ID --id ID --title TITLE Operating system title -h, --help print help
Expected usage:
hammer os add-config-template -h Usage: hammer os add-config-template [OPTIONS] Options: --config-templates NAMES Names of templates --config-template-ids IDS IDs of templates --id ID --title TITLE Operating system title -h, --help print help
At the same time we need to keep backward compatibility and accept the old options with a deprecation warning.
One extra feature could be a search field, that would associate all matching templates:
hammer os add-config-template --title 'RedHat 7' --config-template-search="Kickstart*"
Related issues
Associated revisions
History
#1
Updated by Tomáš Strachota about 5 years ago
- Related to Tracker #2823: Tracker for usability issues added
#2
Updated by Tomáš Strachota about 5 years ago
- Description updated (diff)
#3
Updated by Shira Maximov over 2 years ago
- In Kanboard set to yes
- Triaged set to No
#4
Updated by yifat makias over 2 years ago
- Assignee set to yifat makias
- Status changed from New to Assigned
#5
Updated by The Foreman Bot over 2 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/484 added
#6
Updated by Shira Maximov over 2 years ago
- Triaged changed from No to Yes
#7
Updated by Oleh Fedorenko over 2 years ago
- Related to Feature #28836: Allow multiple disassociating of provisioning templates added
#8
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases hammer-cli-foreman-0.20.0 added
#9
Updated by Anonymous over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|497ebe1e7ee51641e659bf00d63d1f0c59fde783.
#10
Updated by Oleh Fedorenko over 2 years ago
- Related to Bug #29231: Search options have result limits added
Fixes #19999 - support associating multiple provisioning templates (#484)