[uyuni-users] Automatically accepting salt clients
Hi I'm wondering if it's possible to automatically accept new clients registered using the curl|bootstrap method? Currently, the clients register automatically and end up being held in a list by Uyuni. The bootstrap is executed automatically on new machine build or manually as I migrate machines over from our old Spacewalk instance. This list is viewable from the web interface under "Home/Overview" -> "Manage Pending Minions (1)" and allows me to manually approve new clients. I would like to bypass this step to allow for fully automated addition. Is this possible? The only method I can find is to crontab "salt-key -ay" every minute or so, which accepts all pending new clients. However, I feel I'm missing something obvious! Thank you S
Hi, You can enable the parameter auto-accept in the file /etc/salt/master and restart salt-master service. # Enable auto_accept, this setting will automatically accept all incoming # public keys from the minions. Note that this is insecure. #auto_accept: False Thanks, On Thu, 2020-09-24 at 09:46 +0000, Simon Avery wrote:
Hi
I’m wondering if it’s possible to automatically accept new clients registered using the curl|bootstrap method?
Currently, the clients register automatically and end up being held in a list by Uyuni. The bootstrap is executed automatically on new machine build or manually as I migrate machines over from our old Spacewalk instance.
This list is viewable from the web interface under “Home/Overview” -> “Manage Pending Minions (1)” and allows me to manually approve new clients.
I would like to bypass this step to allow for fully automated addition.
Is this possible?
The only method I can find is to crontab “salt-key -ay” every minute or so, which accepts all pending new clients. However, I feel I’m missing something obvious!
Thank you
S
Thank you, Isidro – it did not occur to me to look there. From: Isidro Hortelano <isidro.hortelano@suse.com> Sent: 24 September 2020 12:23 To: Simon Avery <Simon.Avery@atass-sports.co.uk>; uyuni-users@opensuse.org Subject: [EXTERNAL EMAIL] Re: [uyuni-users] Automatically accepting salt clients Hi, You can enable the parameter auto-accept in the file /etc/salt/master and restart salt-master service. # Enable auto_accept, this setting will automatically accept all incoming # public keys from the minions. Note that this is insecure. #auto_accept: False Thanks, On Thu, 2020-09-24 at 09:46 +0000, Simon Avery wrote: Hi I’m wondering if it’s possible to automatically accept new clients registered using the curl|bootstrap method? Currently, the clients register automatically and end up being held in a list by Uyuni. The bootstrap is executed automatically on new machine build or manually as I migrate machines over from our old Spacewalk instance. This list is viewable from the web interface under “Home/Overview” -> “Manage Pending Minions (1)” and allows me to manually approve new clients. I would like to bypass this step to allow for fully automated addition. Is this possible? The only method I can find is to crontab “salt-key -ay” every minute or so, which accepts all pending new clients. However, I feel I’m missing something obvious! Thank you S
participants (2)
-
Isidro Hortelano
-
Simon Avery