Hello
I work for a hosting company which provides both dedicated and virtualised servers and we have been trying to find a decent way to 'clean' old config from our cPanel VM image. To give a little more info, we maintain a cPanel image with all the config changes we like and just image a customer's VM with it when they order one - anything like hostnames etc are set by part of the setup action. This image has been updated on several different VMs and as a result of this has a lot of cruft related to those older machines - obviously this doesn't hinder the image working, but it would be good to remove all this so we are only left with the details of the current testing VM, rather than 4 or 5 older ones.
I've done a lot of searching etc to find and remove references to these older VMs, but as the config files are spread all over the place, this proves very difficult. Is there any kind of script that anyone has ever come across which would 'clean' this information for us?
Thanks in advance
I work for a hosting company which provides both dedicated and virtualised servers and we have been trying to find a decent way to 'clean' old config from our cPanel VM image. To give a little more info, we maintain a cPanel image with all the config changes we like and just image a customer's VM with it when they order one - anything like hostnames etc are set by part of the setup action. This image has been updated on several different VMs and as a result of this has a lot of cruft related to those older machines - obviously this doesn't hinder the image working, but it would be good to remove all this so we are only left with the details of the current testing VM, rather than 4 or 5 older ones.
I've done a lot of searching etc to find and remove references to these older VMs, but as the config files are spread all over the place, this proves very difficult. Is there any kind of script that anyone has ever come across which would 'clean' this information for us?
Thanks in advance