Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Creating a CentOS 5.0 Template

205 bytes removed, 10:57, 13 November 2007
cagegorized, added {{wikify}}, removed some crap
<div class=Section1>[[Category: HOWTO]][[Category: Templates]]{{wikify}}
<ol style='margin-top:0in' start=1 type=1>
style='font-size:10.0pt;font-family:Tahoma'>Install a system (virtual or
physical) with the default <span class=SpellE>CentOS</span> installation
that you wish to package.<span style='mso-spacerun:yes'>  </span>This
could be a minimal <span class=SpellE>distro</span> or the default <span
class=SpellE>distro</span> or even something custom.</span></li>
font-family:"Courier New"'>tar –<span class=SpellE>czvf</span>
/tmp/centos-5.0-&lt;ARCH&gt;-&lt;DISTRO&gt;-<span class=SpellE>image.tar.gz</span>
/ –X<span style='mso-spacerun:yes'>  </span>/<span class=SpellE>tmp</span>/exclude</span></p>
<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in'><span
style='font-size:10.0pt;font-family:"Courier New"'><span style='mso-tab-count:
2'>      </span></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span style='font-size:10.0pt;
normal'><span style='font-size:8.0pt;font-family:Tahoma;color:red'>50</span></b><span
style='font-size:8.0pt;font-family:Tahoma;color:red'> is the VEID for the
VPS.<span style='mso-spacerun:yes'>  </span>You can choose any unused VEID on
the <span class=SpellE>OpenVZ</span> server.</span></p>
normal'>/<span class=SpellE>sbin/mingetty</span></b> on <b
style='mso-bidi-font-weight:normal'>tty1</b> through <b style='mso-bidi-font-weight:
normal'>tty6</b>.<span style='mso-spacerun:yes'>  </span>Just put a <b
style='mso-bidi-font-weight:normal'>#</b> at the beginning of the line.</span></li>
<li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'><span
<li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'><span
style='font-size:10.0pt;font-family:Tahoma'>Now you’re ready to start the
template.<span style='mso-spacerun:yes'>  </span>Type </span><span
class=SpellE><span style='font-size:10.0pt;font-family:"Courier New"'>vzctl</span></span><span
style='font-size:10.0pt;font-family:"Courier New"'> start 50</span><span
style='font-size:10.0pt;font-family:Tahoma'>The template is ready for use.</span></li>
</ol>
 
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Tahoma'>&nbsp;</span></p>
 
<p class=MsoNormal style='margin-left:.75in;text-indent:-.25in'><span
style='font-size:10.0pt;font-family:Tahoma'>&nbsp;</span></p>
 
</div>