Project

General

Profile

Feature #11240

Document root_pass parameter on hostgroups API

Added by Dominic Cleal about 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The root_pass parameter needs documenting for host groups in the API.


When you create a host group and associate it with an operating system, it is often useful to set the password (root) so that when you provision a system associated to this host group, you know what password to use when trying to ssh into the system. Currently one cannot use hammer hostgroup command to do that.

I'd like to request an improvement to hammer hostgroup so that one can set/update the password field. Perhaps something like:

hammer hostgroup update --name=<name of existing host group> --password=<new value>

or

hammer hostgroup update --id=<id for existing host group> --password=<new value>

This would be useful for automating provisioning scenarios via hammer.


Related issues

Copied from Hammer CLI - Feature #11236: Allow hammer hostgroup to set/update the root password fieldClosed2015-07-28

Associated revisions

Revision 8caf49db (diff)
Added by Shlomi Zadok about 4 years ago

fixes #11240 - Add api docs to hostgroup params

History

#1 Updated by Dominic Cleal about 4 years ago

  • Copied from Feature #11236: Allow hammer hostgroup to set/update the root password field added

#2 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/189 added
  • Pull request deleted ()

#3 Updated by Shlomi Zadok about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal about 4 years ago

  • Assignee set to Shlomi Zadok
  • Legacy Backlogs Release (now unused) set to 63

#5 Updated by Tomáš Strachota about 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/2608 added
  • Pull request deleted (https://github.com/theforeman/hammer-cli-foreman/pull/189)

Changing the PR to the correct one. There was a link to a hammer PR by mistake.

Also available in: Atom PDF