SYMPTOMS
I am trying to create cache for Fedora Core 5 or 6 EZ templates and see the error message like shown below:
# vzpkg create cache fedora-core-6-x86_64
> Debug: Using temporary VEID 10000001
> Debug: Mounting VE private area
> ERROR: Can not load mirrirlist(s):
> http://fedora.redhat.com/download/mirrors/fedora-core-6
> ERROR: Can not get yum configs for fedora-core-6-x86_64 OS template CAUSE
Fedora changed repository structure, there is two-level redirection now. 'vzpkg' utility in Virtuozzo 3.0 does not support it (in Virtuozzo 4.0 - it does).
Mirror lists are now located at http://rhold.fedoraproject.org/Download/mirrors/fedora-core-5 and http://rhold.fedoraproject.org/Download/mirrors/fedora-core-6
RESOLUTION
Change FC_SERVER variable in the file /etc/vztt/url.map file to rhold.fedoraproject.org so that it looks like
FC_SERVER=http://rhold.fedoraproject.org Also change the file 'mirrorlist' in template configuration folder, e.g. for Fedora Core 6 for x86 change the file /vz/template/fedora-core/6/x86/config/os/default/mirrorlist - replace these variables
$FC_SERVER/download/mirrors/fedora-core-6
$FC_SERVER/download/mirrors/updates-released-fc6 with
$FC_SERVER/Download/mirrors/fedora-core-6
$FC_SERVER/Download/mirrors/updates-released-fc6 Keywords: vztt mirrorlist fedora ez template cache repository