*SOLVED* changing ostemplate on the fly [message #6823] |
Sun, 24 September 2006 13:09 |
victorskl
Messages: 28 Registered: September 2006
|
Junior Member |
|
|
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,
[Updated on: Fri, 29 September 2006 07:11] by Moderator Report message to a moderator
|
|
|
|
Re: changing ostemplate on the fly [message #6870 is a reply to message #6823] |
Tue, 26 September 2006 09:03 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
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.
|
|
|