OpenVZ Forum


Home » General » Support » CENTOS 5 TEMPLATE - how to get into the vzpkgls
CENTOS 5 TEMPLATE - how to get into the vzpkgls [message #27568] Tue, 19 February 2008 21:41 Go to next message
rmcnaught is currently offline  rmcnaught
Messages: 2
Registered: February 2008
Location: Bay Area, CA
Junior Member
Hi,

New to OpenVZ, managed to get it so that I provisioned two VPS - 101 and 102, using Centos 5 for the HN, and centos 5 for the VPS, as below:

[root@lab03 cache]# vzpkgls 101
centos-5-i386-default

However, I cannot seem to get the cached version of Centos 5 to appear when I run "vzpkgls" and "vzpkgls --cached" as below:

[root@lab03 cache]# vzpkgls
centos-4-i386-minimal
centos-4-i386-default

[root@lab03 cache]# vzpkgls --cached
centos-4-i386-minimal
centos-4-i386-default

I believe I have everything in the right place:

[root@lab03 cache]# pwd ; ls
/vz/template/cache
centos-4-i386-default.tar.gz centos-5-i386-default.tar.gz
centos-4-i386-minimal.tar.gz

Can anyone guide me into how to get centos5 appearing properly, so I can get yum working for my VPSes.

Thanks in advance

Robert McNaught
Re: CENTOS 5 TEMPLATE - how to get into the vzpkgls [message #27583 is a reply to message #27568] Wed, 20 February 2008 06:12 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

To get yum working for your VPSes you can apply several ways:

1. Install yum inside your VPS like on the common Centos-5 system, i.e. enter to your VPS and install appropriate packages.

2. Install yum inside your VPS from HN using vzyum utility.
vzyum <VPS_ID> install yum

To apply this way you have to install appropriate template metadata package on HN which is usually named as vztmpls-os_name.arch.rpm. I couldn't have found appropriate package on the http://download.openvz.org/ but please look at this page
http://forum.openvz.org/index.php?t=msg&th=2512&star t=40&
Steve created vztmpl-centos-5-2.0-3.i386.rpm. I think you can get it.
Previous Topic: Debian 4.0 template NEW and IMPROVED!
Next Topic: no checkpointing when running vzdump
Goto Forum:
  


Current Time: Tue Nov 19 08:42:35 GMT 2024

Total time taken to generate the page: 0.03077 seconds