Difference between revisions of "Metro Recipes"

From Funtoo Linux
Jump to: navigation, search
(How do I build a VServer template?)
Line 19: Line 19:
 
<pre>
 
<pre>
 
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 lxc
 
# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 lxc
 +
</pre>
 +
 +
== 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>
 
</pre>

Revision as of 04:41, 17 November 2011

Contents

How do I build an OpenVZ template?

# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 openvz

How do I build a VServer template?

The latest git version of metro supports vserver natively:

# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 vserver

How do I build an Linux Containers (LXC) template?

The latest git version of metro supports LXC natively:

# /root/git/metro/scripts/ezbuild.sh funtoo-current core2_64 lxc

How do I build more than one stage a day?

To build more than one stage a day, use the full syntax to ezbuild.sh 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.

# /root/git/metro/scripts/ezbuild.sh funtoo-current generic_64 full 20111231-1
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff