Automatic Creation and Configuration of User for Cloudmin Services

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.

Status: 
Needs work

Comments

Steffan's picture
Submitted by Steffan on Thu, 09/01/2016 - 23:57 Pro Licensee

Title: Automatic Creation and Configuration of Cloudmin Services » Automatic Creation and Configuration of User for Cloudmin Services

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.

Steffan's picture
Submitted by Steffan on Sat, 09/03/2016 - 22:50 Pro Licensee

Won't each VM be able to see each other's domains using the same credentials for all the different VMs?

That's true - your idea would solve this better. I'll look into it ..

Steffan's picture
Submitted by Steffan on Mon, 09/05/2016 - 18:24 Pro Licensee

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!

Steffan's picture
Submitted by Steffan on Tue, 10/11/2016 - 13:41 Pro Licensee

Any movement on this option?

Not yet, but it will happen

This has been implemented, for inclusion in the next Cloudmin release.

Status: Active » Fixed
Steffan's picture
Submitted by Steffan on Mon, 02/27/2017 - 23:06 Pro Licensee

Status: Closed (fixed) » Needs work

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.

What was the exact error message?

Steffan's picture
Submitted by Steffan on Tue, 02/28/2017 - 00:29 Pro Licensee

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"

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.