Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Gentoo template creation

458 bytes added, 00:22, 25 February 2013
Edit CT Config
DISKINODES="400000:420000"
 
You should also increase the ram to a minimum of 512 MB. Otherwise, you will get errors during compilation. Since vzctl 3.0.30 you can do:
 
vzctl set 1001 --ram 512M --swap 1G --save
 
Prior to vzctl 3.0.30 you have to do, which gives you 512 MB guaranteed and 1024 MB burstable:
 
vzctl set 1001 --vmguarpages 512M --save
vzctl set 1001 --oomguarpages 512M --save
vzctl set 1001 --privvmpages 512M:1024M --save
vzctl set 1001 --swappages 0:1024M --save
Independed Gentoo portage tree for each container would be good idea, because newer portage can delete older ebuilds already installed in container with other dependences.
4
edits