OpenVZ Forum


Home » Mailing lists » Users » custom location for OS template
Re: custom location for OS template [message #42633 is a reply to message #42583] Sat, 07 May 2011 23:37 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 05/03/2011 04:17 PM, knawnd@gmail.com wrote:
> 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>

Why such a feature would be needed? Is that a problem to put a tarball
(or just a symlink)
to /vz/template/cache?

> with corresponding value for ostemplate variable in VE config:
> ostemplate="/vz/tmpl/centos-5-x86.tar.gz"

This will definitely break the /etc/vz/dists/* logic of choosing proper
distscripts.

> I think that way would provide more flexibility.

There are infinite ways to provide more flexibility for vzctl -- the
question is
which ones are worth implementing.

Maybe you have some specific use case for such feature -- please share the
scenario with us.

Kir.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Previous Topic: Re: Re: Debian libc update requres newer kernel ( was no subject)
Next Topic: CfP 6th Workshop on Virtualization in High-Performance Cloud Computing (VHPC'11) - Deadline Extensio
Goto Forum:
  


Current Time: Tue Sep 17 08:02:33 GMT 2024

Total time taken to generate the page: 0.04999 seconds