OpenVZ Forum - RDF feed
type: channel
items: *SOLVED* changing ostemplate on the fly
items: Re: changing ostemplate on the fly

*SOLVED* changing ostemplate on the fly
type: item
description: Dear all, can we change ostemplate on the fly? let's say VPS101 created with centos-minimal, then wanted to change to fedora-core-4, can we just simple do, #vzctl set 101 --ostemplate fedora-core-4 or any other way?? Thanks,
creator: victorskl
date: 2006-09-24T13:09:07-00:00

Re: changing ostemplate on the fly
type: item
description: Hi, it is not that simple. Think of it this way.... can you easily convert Windows XP service pack 2 to Windows 98SE? Windows 2003 -> Windows ME? Changing any OS to any other OS, even though both may use the linux kernel is not trivial and cannot be accomplished in any single command. There are some distro conversion procedures from Redhat 9 to Fedora, however those procedures are pre-planned and well thought out using RPM depedency chains. In short, there is no way to do what you are asking.. H
creator: HaroldB
date: 2006-09-24T14:28:08-00:00

Re: changing ostemplate on the fly
type: item
description: What do you expect from such operation? If you hope that files, services, files layout, tools, etc... in VE will be updated in accordance with new template, then of course it isn't so easy - HaroldB is right. # vzctl set 101 --ostemplate fedora-core-4 --save command will only make vzctl to run scripts (/etc/vz/dists/<TEMPL>-add_ip, -del_ip, -set_dns, ...) specific to new template.
creator: Vasily Tarasov
date: 2006-09-26T09:03:01-00:00