Bug 1346373

Summary: RFE: Scripted way to create first user
Product: [Community] Spacewalk Reporter: Gorkhaan <gorkhaan>
Component: InstallationAssignee: Jan Dobes <jdobes>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.5CC: dmaiocchi, gorkhaan, mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-24 13:22:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 737830    

Description Gorkhaan 2016-06-14 16:09:41 UTC
Description of problem:
After a normal "spacewalk-setup --disconnected --answer=answer.txt" setup it would be great to have the first user creation from the answer file (or similar)
It would help guys who wants to automate Spacewalk installation via Puppet, Ansible, etc.

Version-Release number of selected component (if applicable):
All

How reproducible:
N/A

Actual results:
Unable to specify first user credentials for creation after successfull installation

Expected results:
A way to create the first user in an automated fashion. answerfile?

Additional info:
answer parameter of "spacewalk-setup" would be the perfect place to have this. A similar field is there already, called "admin-email".
I suggest to have "admin-name" and "admin-pass" too.

Related messages:
https://www.redhat.com/archives/spacewalk-list/2016-February/msg00094.html

Comment 1 Michael Mráka 2020-03-24 13:22:49 UTC
Spacewalk project as an upstream for Red Hat Satellite 5 product is going to be End Of Life on May 31 2020.

Spacewalk 2.10 has been released as the last release of this project.
https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes210

Any new feature will not be included therefore closing remaining RFEs to set expectations properly.