Normally... All you need to do is to
- create activation keys for your distribution you want to use (e.g. SLES15-SP1 or SLES12-SP5)
- copy the system "bootstrap.sh" (/srv/www/htdocs/pub/bootstrap" file and modify it to include the activation key (near end of file) you want to use (or do it with some further logic to construct it, what I do). I have mine named "register.sh".
- run something like "curl -skS http://<your server fqdn>/pub/register.sh | /bin/bash"
This should start registering your client. You then need to accept the request via WebUI under "Salt" -> "Keys"
Robert
sent from my mobile device
-------- Originale Nachricht --------
Von: Tobias Crefeld
Gesendet: Sat Mar 21 18:41:46 GMT+01:00 2020
An: uyuni-users@opensuse.org
Betreff: [uyuni-users] Salt-Client: Problems on Uyuni-WebUI
Hi,
I'm trying to register a SLES server as Salt client using the WebUI of
a new Uyuni installation, version 2020.01.
First I had some trouble with the configuration at the client. Seems
that the user that I configured at the client needs a NOPASSWD: entry
in the client's sudoers file. After correcting this issue it was
possible to proceed with registration process.
A short while after pressing the "Bootstrap"-button I received a
message at WebUI: "Cannot read/write '/var/lib/salt/.ssh/known_hosts'.
Please check permissions."
It seems that the WebUI is using the UID tomcat that has no rights on
this file which is owned by UID salt. I played around with changing file
mode and group memberships but without any success.
Any idea?
Regards,
Tobias.
--
To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org
To contact the owner, e-mail: uyuni-users+owner@opensuse.org
--
To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org
To contact the owner, e-mail: uyuni-users+owner@opensuse.org