Submitted by simbalion on Mon, 01/16/2017 - 14:19
I'm trying to script the installation of Virtualmin, and I want to remove a few features from the cli, so that I can pass a virtualmin check-config test, as I am not deploying with mailman, bind, or apache installed. I tried using virtualmin disable-feature --all-domains --feature1 --feature2, and even tho it seems to update the created domain, check-config still fails complaining that mailman isn't running.
If I remove the features from the web control panel it works, is there a solution for the CLI?
Status:
Active
Comments
Submitted by andreychek on Mon, 01/16/2017 - 14:42 Comment #1
Howdy -- even if the features are disabled from the domains, if it's still enabled in Virtual as an available option it would throw those errors.
What you'd want to do is log into the Virtualmin GUI, go into System Settings -> Features and Plugins, and there you can disable any feature you don't need.
That would prevent Re-Check Config from testing for those options.
Submitted by JamieCameron on Mon, 01/16/2017 - 20:21 Comment #2
You can disable features from the shell, with a command like :
virtualmin set-global-feature --disable-feature web