Changes

Jump to: navigation, search

Centos Upgrade 4.x to 5.x

174 bytes added, 12:42, 2 June 2011
In /etc/vz/conf/CSID.conf replace: improved wording+sed usage
</pre>
==In Update conf file== Edit /etc/vz/conf/$CSID.conf and replace==
<pre>
OSTEMPLATE="centos-4-i386-minimal"
</pre>
towith
<pre>
OSTEMPLATE="centos-5-i386-minimal"
</pre>
 
Alternatively, use the 'sed' command to replace it:
<code>
sed -i 's#OSTEMPLATE="centos-4#OSTEMPLATE="centos-5#g' /etc/vz/conf/$CSID.conf
</code>
==Copy existing template from==
27
edits

Navigation menu