OpenVZ Forum


Home » General » Support » How to rebuild VM from other OSTEMPLATE?
How to rebuild VM from other OSTEMPLATE? [message #51265] Thu, 27 March 2014 19:29 Go to next message
postcd is currently offline  postcd
Messages: 73
Registered: April 2013
Member
I cant find this.

Existing VM and i want to apply another ostemplate on it.

vzctl create 102 --ostemplate centos-6-x86_64

is for creation, but i want to keep VM specs etc, just apply another ostemplate
Re: How to rebuild VM from other OSTEMPLATE? [message #51267 is a reply to message #51265] Thu, 27 March 2014 20:17 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
when creating you can give a option --config <name> and then this config will be applied to new ct

when setting you can use:
vzctl set --applyconfig <name>

otherwise you can stop CT just edit /etc/vz/conf/[ctid].conf file and start CT.
Previous Topic: OpenVZ template needs command after build?
Next Topic: Mixing host OS with template version
Goto Forum:
  


Current Time: Mon Jul 29 10:13:20 GMT 2024

Total time taken to generate the page: 0.02702 seconds