Actions
Feature #19230
openhammer-cli: hammer os set-default-template improvement
Description
Hello.
When I look at the command description for the "hammer os set-default-template" I can see it only accepts "--config-template-id" and "--id".
It would be nice to see if it also accept the "names" and not just "ids" like it's in other parts of hammer.
For example:
hammer os set-default-template --name "My_CentOS" --config-template "My_Kickstart_default"
Thank you
PetrR
Updated by Dominic Cleal over 7 years ago
- Project changed from Foreman to Hammer CLI
- Category changed from API to Provisioning templates
Updated by Tomáš Strachota about 7 years ago
- Has duplicate Bug #19997: Commands for setting default templates are missing name options added
Updated by Tomáš Strachota about 7 years ago
Please note that there should be two more options for OS's title and template's name, plus config templates should be renamed to provisioning templates:
Current state:
hammer os set-default-template -h Usage: hammer os set-default-template [OPTIONS] Options: --config-template-id TPL ID config template id to be set --id OS ID operatingsystem id -h, --help print help
Expected result:
hammer os set-default-template -h Usage: hammer os set-default-template [OPTIONS] Options: --provisioning-template-id ID ... --provisioning-template NAME ... --id ID ... --title TITLE ... -h, --help print help
Actions