OpenVZ Forum


Home » Mailing lists » Users » Question regarding OStemplate setup.
Question regarding OStemplate setup. [message #5115] Sat, 12 August 2006 04:22 Go to next message
joelee is currently offline  joelee
Messages: 63
Registered: April 2006
Member
Hi All,

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.

I am trying to create the first VPS using a debian OStemplate.

However, I did find this path that was already created:
/var/lib/vz/template/cache

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

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

-Joe
//
Re: Question regarding OStemplate setup. [message #5126 is a reply to message #5115] Mon, 14 August 2006 09:48 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

> Hi All,
>
> 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.
just create it.

> I am trying to create the first VPS using a debian OStemplate.
>
> However, I did find this path that was already created:
> /var/lib/vz/template/cache
yep, Debian rules forbid to create something in root /
OVZ actually can use templates from any dir, which is specified in
global vz config:

## Template parameters
TEMPLATE=/vz/template


> But the doc does not show/reference anything about the path:
> /var/lib/vz/template/cache...
yeah, it is debian specific :/

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

Thanks,
Kirill
Re: Question regarding OStemplate setup. [message #5129 is a reply to message #5115] Mon, 14 August 2006 12:54 Go to previous message
masm is currently offline  masm
Messages: 7
Registered: July 2006
Location: Finland
Junior Member
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
Previous Topic: Firewalls and security patterns
Next Topic: -bash: child setpgid (7091 to 8093): Operation not permitted
Goto Forum:
  


Current Time: Wed Apr 24 05:40:59 GMT 2024

Total time taken to generate the page: 0.01333 seconds