Topic: Thinking about a new way for deployment
today I was just thinking about a new idea...
In our company we use pretty often VMware ESXi to deploy new virtual servers for some of our customers. And I was thinking how fast it would be to convert to a VMware template a fresh installation of iRedmail, plus some customizations of our own.
For example, when we install a new VM for a customer with iRedmail we always have to make the same modifications to the configuration, i.e:
increase message size to 100MB
lower the SPAM threshold to 5.0
enable pyzor, razor and DCC
change some config in roundcubemail (columns order, sorting, etc.)
change some spam rules weight
remove www account
and in addition we add some other customizations outside iRedmail as installing some PHP libraries, activate modules in apache, installing pure-ftpd-mysql, memcached, php-apc, and so on...
In fact it would be wonderful to install everything as ... "example.com", an unused IP, and make a snapshot.
When we need to install a new VM, just load the template, and fire it up.
I understand that actually it is not possible due to passwords generated during iredmail installation, main domain, hostname, DKIM keys... In fact such an operation would almost require the same amount of time than making a fresh install.
It would be wonderful to have a script that asks again for the IP, hostname and main domain and makes all the changes needed in every config file.
Maybe something similar is already existing and I am missing something?
Does anyone ever thought about implementing such a time saver?
Zhang, what do you think about it?