[Users] Question regarding OStemplate setup.

Mika S Marjamäki mika.marjamaki at movial.fi
Mon Aug 14 08:54:02 EDT 2006


la, 2006-08-12 kello 00:22 -0400, Joe Lee kirjoitti:
> I am trying to setup OVZ for the first time using Debian 3.1 (sarge) as 
> the host OS. I've been following the instructions found via this link:
> 
> http://howtoforge.com/openvz_debian_vps
> 
> All seems to have gone well except for setting up OStemplate Cache to 
> setup a VPS. After my install of OVZ I had expected to find this path: 
> /vz/template/cache, however, it did not exist. Note: /vz does exist.
>
> However, I did find this path that was already created: 
> /var/lib/vz/template/cache

OpenVZ Debian-packages from debian.systs.org seem to be compiled so that
they use /var/lib/vz as the vz-root instead of /vz -- AFAIK for better
FHS-compliance.

> But the doc does not show/reference anything about the path: 
> /var/lib/vz/template/cache...

The documentation is quite RH-specific, although the poll at
http://forum.openvz.org/index.php?t=msg&th=50 shows that Debian-based
distributions are the preferred choice of OpenVZ-users. ;)

> Would appreciate if anyone can clarify what I might be missing or what 
> might have gone wrong - Any other comments/suggestions appreciated!

You can just do a symlink /vz pointing to /var/lib/vz if you want;
however there is no reason why you should need it, just use /var/lib/vz
whenever the documentation refers to /vz.

BR,

  Mika



More information about the Users mailing list