Project

General

Profile

Actions

Feature #11240

closed

Document root_pass parameter on hostgroups API

Added by Dominic Cleal over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
trivial
Triaged:
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 1 (0 open1 closed)

Copied from Hammer CLI - Feature #11236: Allow hammer hostgroup to set/update the root password fieldClosedShlomi Zadok07/28/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

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

Updated by The Foreman Bot over 8 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 ()
Actions #3

Updated by Shlomi Zadok over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • Assignee set to Shlomi Zadok
  • translation missing: en.field_release set to 63
Actions #5

Updated by Tomáš Strachota over 8 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.

Actions

Also available in: Atom PDF