Changes

Jump to: navigation, search

Gentoo template creation

32 bytes removed, 20:39, 2 March 2009
Making distfiles and portage tree of the host system available in a container
<pre>
mkdir /var/lib/vz/root/777/usr/portagemount -o bind /usr/portage /var/lib/vz/root/777/usr/portage
</pre>
<pre>
mount -n -o bind /usr/portage/distfiles /var/lib/vz/root/777/usr/portage/distfiles
</pre>
For security reasons, you should have these directories mounted only while installing software into a container.
{{Note|you have to <code>umount /var/lib/vz/root/777/usr/portage/distfiles</code> before trying to stop your container.}}
== Create the template cache file ==
11
edits

Navigation menu