Project

General

Profile

Feature #11236

Allow hammer hostgroup to set/update the root password field

Added by Og Maciel about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

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

Has duplicate Hammer CLI - Feature #7209: Unable to set password for hostgroupDuplicate2014-08-21
Copied to Foreman - Feature #11240: Document root_pass parameter on hostgroups APIClosed2015-07-28

Associated revisions

Revision 344dde29 (diff)
Added by Shlomi Zadok about 4 years ago

fixes #11236 - add root_pass option

Revision 84db9a65
Added by Tomas Strachota about 4 years ago

Merge pull request #189 from shlomizadok/fix_11240

fixes #11236 - add root_pass option

History

#1 Updated by Dominic Cleal about 4 years ago

  • Project changed from Foreman to Hammer CLI
  • Subject changed from Allow hammer hostgroup to set/update the password field to Allow hammer hostgroup to set/update the root password field
  • Category set to Foreman commands (obsolete)

#2 Updated by Dominic Cleal about 4 years ago

  • Copied to Feature #11240: Document root_pass parameter on hostgroups API added

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

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

#4 Updated by Shlomi Zadok about 4 years ago

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

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

  • Has duplicate Feature #7209: Unable to set password for hostgroup added

#6 Updated by Stephen Benjamin over 3 years ago

  • Bugzilla link set to 1289133

Also available in: Atom PDF