I think there may be an error in the vztmpl2-centos package:<br><br>I just tried to build a centos-5-x86_64-default template and encountered problems:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<a href="http://Depweb-a.ite.gmu.edu:3142/openvz/centos/5/x86_64/repodata/repomd.xml">http://Depweb-a.ite.gmu.edu:3142/openvz/centos/5/x86_64/repodata/repomd.xml</a>: [Errno 4] Socket Error: timed out<br>Trying other mirror.<br>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: centos-vz-addons. Please verify its path and try again<br>ERROR: Command yum check-update failed with 1 exit code<br></blockquote><br>I believe there is an error in the /vz/template/centos/config/vzpkg.conf file<br>
<br>I resolved the problem by changing this entries like<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">[centos-vz-addons]<br>name=OpenVZ add-ons for $OS_NAME $OS_VER - $OS_ARCH<br>
baseurl=http://$VZPKG_CACHE_HOST/openvz/$OS_NAME/$OS_VER/$OS_ARCH/<br>enabled=1<br>gpgcheck=1<br>gpgkey=<a href="http://repo.opensource-sw.net/centos/RPM-GPG-KEY-CentOS-ossw.asc">http://repo.opensource-sw.net/centos/RPM-GPG-KEY-CentOS-ossw.asc</a><br>
</blockquote><br>to:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">[centos-vz-addons]<br>name=OpenVZ add-ons for $OS_NAME $OS_VER - $OS_ARCH<br>
baseurl=<a href="http://rep.opensource-sw.net/$OS_NAME/$OS_VER/$OS_ARCH/">http://rep.opensource-sw.net/$OS_NAME/$OS_VER/$OS_ARCH/</a><br>enabled=1<br>gpgcheck=1<br>gpgkey=<a href="http://repo.opensource-sw.net/centos/RPM-GPG-KEY-CentOS-ossw.asc">http://repo.opensource-sw.net/centos/RPM-GPG-KEY-CentOS-ossw.asc</a></blockquote>
<div><br> <br>does this make sense?<br><br></div><snip><br><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff"><div><font face="Arial" size="2"></font> </div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>