OpenVZ Forum


Home » General » Support » Changing the os-template of an existing VE
Re: Changing the os-template of an existing VE [message #37923 is a reply to message #37900] Mon, 02 November 2009 18:04 Go to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

a solution can be:

setup your ctid with the new arch from a precreated os template, and store your current packages selection of your old ct and move this selection list to your new ct.

for Debian
# dpkg --get-selections > installed-debpkg.list

transfer it to the new ct, import the selections
# dpkg --set-selections < installed-debpkg.list

test to install all "same applications"
# apt-get -s dselect-upgrade

doit
# apt-get -u dselect-upgrade

and install/configure your system, e.g. copy config files

Hope this helps.

Bye,
Thorsten
 
Read Message
Read Message
Read Message
Previous Topic: My posts to the forum going to /dev/null
Next Topic: [3662]ERR: 24
Goto Forum:
  


Current Time: Fri Aug 01 23:43:00 GMT 2025

Total time taken to generate the page: 0.74010 seconds