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