8
edits
Changes
no edit summary
exit
</pre>
7 - In /etc/vz/conf/CSID.conf replace<pre>OSTEMPLATE="centos-4-i386-minimal"</pre>to<pre>OSTEMPLATE="centos-5-i386-minimal"</pre>8 - Coppy existing template from<pre>/vz/template/centos/4</pre>to<pre>/vz/template/centos/5</pre>9 - In /vz/template/centos/4/i386/config/yum.conf change mirrors to CentOS 5 10 - Upgrade container packages using vzyum (32bit only)
<pre>
vzyum CTID upgrade
Note: on 64-bit yum db-version might complain. Do "rm /vz/root/VZNUM/var/lib/rpm/__*" to delete conflicting DB.
<pre>
vzctl stop CTID
</pre>
<pre>
cd /vz/private/CTID
tar -xvf dev.tar
</pre>
<pre>
cd
</pre>
<pre>
vzctl start CTID
</pre>
<pre>
vzctl set --ipdel container_IP
</pre>
<pre>
vzctl stop CTID
</pre>
<pre>
cd /vz/private/CTID
tar -zcf /vz/template/cache/centos-5.0-i386-minimal.tar.gz .
</pre>