Project

General

Profile

Actions

Feature #11236

closed

Allow hammer hostgroup to set/update the root password field

Added by Og Maciel about 9 years ago. Updated almost 9 years ago.

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

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 2 (0 open2 closed)

Has duplicate Hammer CLI - Feature #7209: Unable to set password for hostgroupDuplicate08/21/2014Actions
Copied to Foreman - Feature #11240: Document root_pass parameter on hostgroups APIClosedShlomi Zadok07/28/2015Actions
Actions #1

Updated by Dominic Cleal about 9 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)
Actions #2

Updated by Dominic Cleal about 9 years ago

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

Updated by Tomáš Strachota about 9 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 ()
Actions #4

Updated by Shlomi Zadok about 9 years ago

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

Updated by Tomáš Strachota about 9 years ago

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

Updated by Stephen Benjamin almost 9 years ago

  • Bugzilla link set to 1289133
Actions

Also available in: Atom PDF