ispcp Template for vmware - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: ispcp Template for vmware (/thread-7512.html) |
ispcp Template for vmware - wuhaa - 08-15-2009 02:53 AM Hi, I am making a template system from ubuntu 9.04 for my vmware server so I can copy this template to easily create more then one machine. I have successfully installed the ispcp on a test template. The problem I am having is to change the ipaddress/hostname/mysql passwd/admin passwd/ ans all the configurations related to the different service. Is their a way to configure the new virtual machines to rerun part of the install process so then when I create a new virtual machine, I can just execute the partial install to update the server to the new configuration? Or maybe a central config file that I can modify so that the changes in the main config file take effect across the new virtual machine? Thanks, RE: ispcp Template for vmware - wuhaa - 08-21-2009 03:56 AM So in case someone else needs to do this, I have managed to do this to some extent. This is based on Ubuntu 9.04 I Created a vm image by installing ubuntu 9.04 and whatever else was needed (vim, iftop, screen etc...). Then I installed all the packages needed by ispCP (I usedispcp 1.0.0 and the package list was not available for 9.04, so I used the one from the trunk releases) Next I used this image to clone my install onto a second machine. Then I wrote a small expect script which sshed into the new vm and executed all the necessary commands EXCEPT the package install step. Here are the guts of the expect script Code: set UsrCmd {$ } RE: ispcp Template for vmware - sfera - 11-06-2009 12:31 PM thx for the script. Really replace all ? But the script in waht language are wroten? c? shell-script? i need compile it? Thx in advanced RE: ispcp Template for vmware - wuhaa - 02-05-2010 08:11 AM It's an expect script. In ubuntu, you can install it with "aptitude install expect". (11-06-2009 12:31 PM)sfera Wrote: thx for the script. |