I think, currently there is no way. This has been removed in 2015. See https://www.redhat.com/archives/spacewalk-devel/2015-December/msg00000.html. Currently, I could only think of manual SQL to first create the user and then, create the org. Good luck. Robert
Gesendet: Dienstag, 13. November 2018 um 23:30 Uhr Von: "Stankowic, Christian"
An: "uyuni-devel@opensuse.org" Betreff: [uyuni-devel] Looking for a way to automate the first organization creation Hello Uyuni team!
I'm currently writing a Chef cookbook for automating Uyuni test deployments. After installing Uyuni, the first organization still needs to be created using the web page.
I understand that there is an automation tool spacecmd, but this seems not to work if no organization or admin user exist:
# spacecmd org_create Spacewalk Username: Spacewalk Password: ERROR: Invalid credentials
I figured out that entering no username/password does not work (also not via the .spacecmd/config file) - so therefore the error message seems legit.
My question is now: how can I automate this? I cannot used the web page in an automated manner. Is there an option for the /root/setup_env.sh file?
Thanks a lot in advance - also keep up the good work!
Best wishes, Christian Stankowic
-- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org