Editing Gentoo template creation
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 27: | Line 27: | ||
'''WARNING''': There is no warrantied that template should work, you can bugtack the errors. But I haven't confronted with problem. | '''WARNING''': There is no warrantied that template should work, you can bugtack the errors. But I haven't confronted with problem. | ||
− | == Create | + | == Create directory for the new container and unarchive stage3 == |
<pre> | <pre> | ||
− | |||
mkdir /vz/private/1001 | mkdir /vz/private/1001 | ||
− | tar - | + | tar -xjf /root/stage3-i686-20111213.tar.bz2 -C /vz/private/1001 |
</pre> | </pre> | ||
Line 47: | Line 46: | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Edit CT Config == | == Edit CT Config == | ||
Line 65: | Line 57: | ||
values are providing 2 GB soft limit with 2.5 GB hard limit: | values are providing 2 GB soft limit with 2.5 GB hard limit: | ||
− | DISKSPACE=" | + | DISKSPACE="2G:2.5G" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
After that you copy that configuration file turning it into a sample configuration for later use: | After that you copy that configuration file turning it into a sample configuration for later use: | ||
Line 186: | Line 160: | ||
</pre> | </pre> | ||
− | |||
If you want to enable udev read on. | If you want to enable udev read on. |