Hello, I'm using WHMCS for automated provisioning my server and currently write a module for it but I couldn't figure out how to make it set password automatically.
My idea is to have a little shell script started on first boot inside the VPS, an external PHP script for accessing the WHMCS's API to get the password based on the IP of which server has requested the PHP script, the shell script then set the password for itself but I can't find any docs on how to access all the running server and its info to get the password I needed.
Any help with this is greatly appreciated
Thanks!