Difference between pages "Funtoo:Metro/Recipes" and "File:MediaWiki Skin Vector.png"

From Funtoo
< Funtoo:Metro(Difference between pages)
Jump to navigation Jump to search
 
(Maintenance script uploaded a new version of "File:MediaWiki Skin Vector.png")
 
Line 1: Line 1:
== How do I build an OpenVZ template? ==


<pre>
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 openvz
</pre>
== How do I build a VServer template? ==
The latest git version of metro supports vserver natively:
<pre>
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 vserver
</pre>
== How do I build an Linux Containers (LXC) template? ==
The latest git version of metro supports LXC natively:
<pre>
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 lxc
</pre>
== How do I build stuff, plus an OpenVZ template? ==
Sometimes it's handy to be able to build a multi-target like "full" (the default stage1/2/3 build) or "freshen" ''plus'' an additional single target such as "openvz", "lxc" or "vserver". The advantage of using this approach is that the second target will only build if the first one completes successfully. Metro now accepts a "+(single-target)" to specify one additional extra target:
<pre>
# /root/git/metro/scripts/ezbuild.sh funtoo-current corei7 full+openvz
</pre>
This comes in handy for cron jobs.
== How do I build more than one stage a day? ==
To build more than one stage a day, use the full syntax to <tt>ezbuild.sh</tt> as shown below, and specify the suffix of your preference to the datestamp. From Metro's perspective, the datestamp is just a string so anything will work -- "[today's date]-1", "test", "test-3", etc. will all be accepted by Metro. Metro will record the last stage3 built and use it as a seed stage.
<pre>
# /root/git/metro/scripts/ezbuild.sh funtoo-current generic_64 full 20111231-1
</pre>
[[Category:Metro]]

Latest revision as of 06:04, April 27, 2014