Install plugins with Virtualmin CLI

I would like to automate my basic installation of Virtualmin with Ansible.
As I have seen, there is a CLI for Virtualmin.

Is it possible to change the settings of the Postinstall Wizard via CLI?
Is it possible to install Virtualmin plugins via CLI?

Thanks for all tips.

Hi,

No (at least not yet). After wizard is run in UI and last step is finished, it adds wizard_run=1 to /etc/webmin/virtual-server/config. It could be handled by your script, just as other post configuration steps.

Is it possible to install Virtualmin plugins via CLI?

What do you mean exactly by that? We distribute vurtualmin- plugins as packages, available to install from our repos.

What do you mean exactly by that? We distribute vurtualmin- plugins as packages, available to install from our repos.

Perhaps the question is too trivial.
Lets say i want to install the mailman plugin (see below).
I want to install the Virtualmin plugin with the CLI instead of the web interface.

I want to install the Virtualmin plugin with the CLI instead of the web interface.

I explained it above. It’s installable from our repos.

Try:

yum install wbm-virtualmin-mailman
apt-get install webmin-virtualmin-mailman

Ok, thanks for the answer! :+1:
The answer was actually too simple. :wink:
I didn’t think that you could install the plugins via the package manager of the OS…

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.