You can already get as fine-grained as you want, if you separate out the steps.
Here’s how:
Set up the repos:
# /bin/sh install.sh --setup
Install the packages you want, maybe starting with a stack metapackage on Debian/Ubuntu or yum group on CentOS:
# yum groupinstall "Virtualmin LAMP Stack Minimal"
Or just pick and choose the packages you want (you can check out the groups or metapackages in our github to see the lists of packages for each of the four install types).
Then configure the pieces you’re using:
# virtualmin config-system --include Postfix --include Dovecot --include ...
Note you’ll need to do some experimentation and testing for any combination. We test the four bundle types (LAMP and LEMP, and their minimal counterparts), but we can’t reasonably test the gazillion potential other combinations.
Note also that there is actually a secret minimal-er mode to both of the stack types. If you configure yum or apt to leave off optional or Recommends
items you’ll get a smaller installation (in the case of minimal, it’d get real small). But also a lot of stuff probably won’t work…but if you want everything you need to install everything. You can’t have a small install that also does everything. So, that’s not a bug. It’s just the nature of the thing.
So, it’s not currently an option to the install script…and, I’d be hesitant to make the installer much more complicated than it already is. But, it’s also not that difficult to do what you want with as much granularity as you want.
Things you should look at to get the lay of the land:
Where the config-system bundles come from: Virtualmin-Config/lib/Virtualmin/Config at master · virtualmin/Virtualmin-Config · GitHub
Where the package lists come from: