When creating a VM, CM should offer a checkbox for Cloudmin Services which will be connected to the new VM. CM then needs to configure a user for the VM which will be setup in Virtualmin within that VM for whatever CM services there are.
For example: Create a VM Admin checks off that VM will use Cloudmin services CM Creates the VM CM Creates the user for CM Services perhaps using the same U/P chosen for the VM CM configures the VM's install of Virtualmin to use that new U/P to connect
REASON: I want to build my own VM and have all spam prevention, middleware (php, Lasso) and whatever else all ready to go. When I create the VM I give the user the U/P for it and they can immediately begin adding domains etc. without me ever having to log into the VM to do anything.
Sound feasible? Seems a must for a speedy deployment of a new VM.
Comments
Submitted by JamieCameron on Sat, 09/03/2016 - 14:21 Comment #2
That's a good idea. Although you could do most of it right now by creating a VM that's configured as you like (including the connection to Cloudmin Services), create an image of that VM, and then use it to create further VMs.
Won't each VM be able to see each other's domains using the same credentials for all the different VMs?
Submitted by JamieCameron on Sun, 09/04/2016 - 16:22 Comment #4
That's true - your idea would solve this better. I'll look into it ..
If the VM account admin installs Virtualmin from the CM menu tree, that would be the right time to do it. An easy config. As far as existing goes, under CM services it might be good to have an option to configure a VM's Virtualmin for CM Services.
I do want to tell you though it's a COOL service. I really like it. Well worth my fees. I make my clients buy their Virtualmin licenses to support the great work! Thank you!
Any movement on this option?
Submitted by JamieCameron on Tue, 10/11/2016 - 19:56 Comment #7
Not yet, but it will happen
Submitted by JamieCameron on Thu, 12/08/2016 - 20:04 Comment #8
This has been implemented, for inclusion in the next Cloudmin release.
Submitted by JamieCameron on Thu, 12/08/2016 - 20:04 Comment #9
Tried this first time on a new VM and although it created the VM with the proper owner, there was an error saying it couldn't find the password for the user I chose. I know there is one assigned since I have that user on other VMs using CM Services.
Submitted by JamieCameron on Mon, 02/27/2017 - 23:31 Comment #12
What was the exact error message?
Made sure to check the "Configure system as Cloudmin Services client" checkbox. It got all the way to the end and then got the error "Configuring system to use Cloudmin Services .. .. failed : Cloudmin does not know the passwordd for system owner execuchoice"
Submitted by JamieCameron on Tue, 02/28/2017 - 09:52 Comment #14
You need to edit that Cloudmin system owner and re-save his password - it needs to be stored in plaintext in order to passed to the new VM.