custom location for OS template [message #42369] |
Thu, 07 April 2011 08:16 |
knawnd
Messages: 27 Registered: April 2011
|
Junior Member |
|
|
Hi!
Is there any way to specify a location for OS templates? The default one is written in /etc/vz/vz.conf as
TEMPLATE=/vz/template
but I would like to have a possibility to specify the custom one e.g. with absolute path:
$ vzctl create --ostemplate /vz/tmpl/centos-5-x86.tar.gz <CTID>
with corresponding value for OSTEMPLATE variable in VE config:
OSTEMPLATE="/vz/tmpl/centos-5-x86.tar.gz"
I think that way would provide more flexibility.
Should I submit feature request on that?
Thanks!
Nikolay.
|
|
|