Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Centos Upgrade 4.x to 5.x

265 bytes added, 12:50, 2 June 2011
In /vz/template/centos/4/i386/config/yum.conf change mirrors to CentOS 5: improved+sed usage
</pre>
==Update yum.conf== In /vz/template/centos/45/i386/config/yum.conf change mirrors to CentOS 5== Using sed: <pre>sed -i 's#centos4#centos5#g' /vz/template/centos/5/i386/config/yum.confsed -i 's#CentOS 4#CentOS 5#g' /vz/template/centos/5/i386/config/yum.confsed -i 's#centos/4/#centos/5/#g' /vz/template/centos/5/i386/config/yum.conf</pre>
==Upgrade container packages using vzyum (32bit only)==
27
edits